Skip to content

Commit 752157c

Browse files
committed
Fix tests
1 parent 053fd41 commit 752157c

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

tests/format/angular/expression/__snapshots__/format.test.js.snap

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
exports[`arrow-function.html format 1`] = `
44
====================================options=====================================
55
parsers: ["angular"]
6-
printWidth: 80 (default) |
6+
printWidth: 80
7+
| printWidth
78
=====================================input======================================
89
@let fn = (a, b) => componentValue + a + b;
910
One: {{fn(0, 1)}}
@@ -94,7 +95,8 @@ printWidth: 80
9495
exports[`instanceof-operator.html format 1`] = `
9596
====================================options=====================================
9697
parsers: ["angular"]
97-
printWidth: 80 (default) |
98+
printWidth: 80
99+
| printWidth
98100
=====================================input======================================
99101
{{
100102

tests/format/angular/expression/arrow-function-options/__snapshots__/format.test.js.snap

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ exports[`snippet: #0 - {"arrowParens":"avoid"} format 1`] = `
44
====================================options=====================================
55
arrowParens: "avoid"
66
parsers: ["angular"]
7-
printWidth: 80 (default) |
7+
printWidth: 80
8+
| printWidth
89
=====================================input======================================
910
@let fn = ( oneArgument) => 1;
1011
=====================================output=====================================
@@ -18,7 +19,7 @@ exports[`snippet: #0 - {"printWidth":1,"trailingComma":"all"} format 1`] = `
1819
parsers: ["angular"]
1920
printWidth: 1
2021
trailingComma: "all"
21-
| printWidth: 1
22+
| printWidth
2223
=====================================input======================================
2324
@let fn = ( should, not, print,trailing, comma) => 1;
2425
=====================================output=====================================
@@ -39,7 +40,8 @@ exports[`snippet: #1 - {"arrowParens":"avoid"} format 1`] = `
3940
====================================options=====================================
4041
arrowParens: "avoid"
4142
parsers: ["angular"]
42-
printWidth: 80 (default) |
43+
printWidth: 80
44+
| printWidth
4345
=====================================input======================================
4446
@let fn = oneArgument => 1;
4547
=====================================output=====================================

0 commit comments

Comments
 (0)