Feature: Add support for spread operator #173
Annotations
6 errors
tests/Expressions/jsfmt.spec.js > Expressions > should handle spread operators:
tests/Expressions/jsfmt.spec.js#L73
Error: Snapshot `Expressions > should handle spread operators 1` mismatched
- Expected
+ Received
@@ -1,9 +1,9 @@
Some variation of spread operator
{{ ...some_var }}
- <twig:Component {{ ...vars }} />
+ <twig:Component ...{{ vars }} />
{% set numbers = [1, 2, ...moreNumbers] %}
{% set ratings = {
q1: 10,
...options,
❯ tests/Expressions/jsfmt.spec.js:73:9
|
Test (22)
Process completed with exit code 1.
|
tests/Expressions/jsfmt.spec.js > Expressions > should handle spread operators:
tests/Expressions/jsfmt.spec.js#L73
Error: Snapshot `Expressions > should handle spread operators 1` mismatched
- Expected
+ Received
@@ -1,9 +1,9 @@
Some variation of spread operator
{{ ...some_var }}
- <twig:Component {{ ...vars }} />
+ <twig:Component ...{{ vars }} />
{% set numbers = [1, 2, ...moreNumbers] %}
{% set ratings = {
q1: 10,
...options,
❯ tests/Expressions/jsfmt.spec.js:73:9
|
Test (20)
Process completed with exit code 1.
|
tests/Expressions/jsfmt.spec.js > Expressions > should handle spread operators:
tests/Expressions/jsfmt.spec.js#L73
Error: Snapshot `Expressions > should handle spread operators 1` mismatched
- Expected
+ Received
@@ -1,9 +1,9 @@
Some variation of spread operator
{{ ...some_var }}
- <twig:Component {{ ...vars }} />
+ <twig:Component ...{{ vars }} />
{% set numbers = [1, 2, ...moreNumbers] %}
{% set ratings = {
q1: 10,
...options,
❯ tests/Expressions/jsfmt.spec.js:73:9
|
Test (18)
Process completed with exit code 1.
|