Skip to content

Commit 80d75a2

Browse files
committed
chore: replace test snapshots
1 parent f7d37d8 commit 80d75a2

94 files changed

Lines changed: 426 additions & 426 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

tests/angular/issue-73/__snapshots__/absolute.test.ts.snap

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
22

3-
exports[`'(1) Tagged templates are not supported by default.' > expectation 1`] = `
3+
exports[`'(1) Tagged templates are not supporte…' > expectation 1`] = `
44
"<!-- ------------------------------------------------------| printWidth=60 (in snapshot) -->
55
<script setup lang="ts">
66
const classes = tw\`lorem ipsum dolor sit amet consectetur adipiscing elit proin ex massa hendrerit eu posuere eu volutpat id neque pellentesque\`;
77
</script>
88
"
99
`;
1010

11-
exports[`'(2) Tagged templates are supported by adding tag function names to the \`customFunctions\` option.' > expectation 1`] = `
11+
exports[`'(2) Tagged templates are supported by' > expectation 1`] = `
1212
"<!-- ------------------------------------------------------| printWidth=60 (in snapshot) -->
1313
<script setup lang="ts">
1414
const classes = tw\`lorem ipsum dolor sit amet consectetur
@@ -18,7 +18,7 @@ exports[`'(2) Tagged templates are supported by adding tag function names to the
1818
"
1919
`;
2020

21-
exports[`'(3) If a tagged template is written as an argument for a function that supports line wrapping, it will appear to be supported even if the \`customFunctions\` option does not include the tagged function name, but in fact it is supported as a template literal.' > expectation 1`] = `
21+
exports[`'(3) If a tagged template is written a…' > expectation 1`] = `
2222
"<!-- ------------------------------------------------------| printWidth=60 (in snapshot) -->
2323
<script setup lang="ts">
2424
const classes = classNames(
@@ -30,7 +30,7 @@ exports[`'(3) If a tagged template is written as an argument for a function that
3030
"
3131
`;
3232

33-
exports[`'(4) If the tag function name is \`css\`, the tagged template is considered special and is not supported even if it is written as an argument for a function that supports line wrapping.' > expectation 1`] = `
33+
exports[`'(4) If the tag function name is \`css\`' > expectation 1`] = `
3434
"<!-- ------------------------------------------------------| printWidth=60 (in snapshot) -->
3535
<script setup lang="ts">
3636
const classes = classNames(
@@ -40,7 +40,7 @@ exports[`'(4) If the tag function name is \`css\`, the tagged template is consid
4040
"
4141
`;
4242

43-
exports[`'(5) If the tag function name is \`css\`, the tagged template is considered special and is not supported even if you add the tag function name to the \`customFunctions\` option.' > expectation 1`] = `
43+
exports[`'(5) If the tag function name is \`css\`' > expectation 1`] = `
4444
"<!-- ------------------------------------------------------| printWidth=60 (in snapshot) -->
4545
<script setup lang="ts">
4646
const classes = classNames(

tests/angular/issue-73/__snapshots__/relative.test.ts.snap

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
22

3-
exports[`'(1) Tagged templates are not supported by default.' > expectation 1`] = `
3+
exports[`'(1) Tagged templates are not supporte…' > expectation 1`] = `
44
"<!-- ------------------------------------------------------| printWidth=60 (in snapshot) -->
55
<script setup lang="ts">
66
const classes = tw\`lorem ipsum dolor sit amet consectetur adipiscing elit proin ex massa hendrerit eu posuere eu volutpat id neque pellentesque\`;
77
</script>
88
"
99
`;
1010

11-
exports[`'(2) Tagged templates are supported by adding tag function names to the \`customFunctions\` option.' > expectation 1`] = `
11+
exports[`'(2) Tagged templates are supported by' > expectation 1`] = `
1212
"<!-- ------------------------------------------------------| printWidth=60 (in snapshot) -->
1313
<script setup lang="ts">
1414
const classes = tw\`lorem ipsum dolor sit amet consectetur adipiscing elit proin
@@ -18,7 +18,7 @@ exports[`'(2) Tagged templates are supported by adding tag function names to the
1818
"
1919
`;
2020

21-
exports[`'(3) If a tagged template is written as an argument for a function that supports line wrapping, it will appear to be supported even if the \`customFunctions\` option does not include the tagged function name, but in fact it is supported as a template literal.' > expectation 1`] = `
21+
exports[`'(3) If a tagged template is written a…' > expectation 1`] = `
2222
"<!-- ------------------------------------------------------| printWidth=60 (in snapshot) -->
2323
<script setup lang="ts">
2424
const classes = classNames(
@@ -30,7 +30,7 @@ exports[`'(3) If a tagged template is written as an argument for a function that
3030
"
3131
`;
3232

33-
exports[`'(4) If the tag function name is \`css\`, the tagged template is considered special and is not supported even if it is written as an argument for a function that supports line wrapping.' > expectation 1`] = `
33+
exports[`'(4) If the tag function name is \`css\`' > expectation 1`] = `
3434
"<!-- ------------------------------------------------------| printWidth=60 (in snapshot) -->
3535
<script setup lang="ts">
3636
const classes = classNames(
@@ -40,7 +40,7 @@ exports[`'(4) If the tag function name is \`css\`, the tagged template is consid
4040
"
4141
`;
4242

43-
exports[`'(5) If the tag function name is \`css\`, the tagged template is considered special and is not supported even if you add the tag function name to the \`customFunctions\` option.' > expectation 1`] = `
43+
exports[`'(5) If the tag function name is \`css\`' > expectation 1`] = `
4444
"<!-- ------------------------------------------------------| printWidth=60 (in snapshot) -->
4545
<script setup lang="ts">
4646
const classes = classNames(

tests/astro/binary-operator/__snapshots__/absolute.test.ts.snap

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
22

3-
exports[`'(1) When expressions are joined by the logical AND operator, line wrapping is supported only in the last operand.' > expectation 1`] = `
3+
exports[`'(1) When expressions are joined by th…' > expectation 1`] = `
44
"//---------------------------------------------------------|
55
printWidth=60 (in snapshot)
66
<div>
@@ -17,7 +17,7 @@ printWidth=60 (in snapshot)
1717
"
1818
`;
1919
20-
exports[`'(2) When expressions are joined by the logical AND operator, line wrapping is supported only in the last operand.' > expectation 1`] = `
20+
exports[`'(2) When expressions are joined by th…' > expectation 1`] = `
2121
"//---------------------------------------------------------|
2222
printWidth=60 (in snapshot)
2323
<div>
@@ -36,7 +36,7 @@ printWidth=60 (in snapshot)
3636
"
3737
`;
3838
39-
exports[`'(3) When expressions are joined by the logical AND operator, line wrapping is supported only in the last operand.' > expectation 1`] = `
39+
exports[`'(3) When expressions are joined by th…' > expectation 1`] = `
4040
"//---------------------------------------------------------|
4141
printWidth=60 (in snapshot)
4242
<div>
@@ -58,7 +58,7 @@ printWidth=60 (in snapshot)
5858
"
5959
`;
6060
61-
exports[`'(4) When expressions are joined by the logical OR operator, line wrapping is supported only in the last operand.' > expectation 1`] = `
61+
exports[`'(4) When expressions are joined by th…' > expectation 1`] = `
6262
"//---------------------------------------------------------|
6363
printWidth=60 (in snapshot)
6464
<div>
@@ -75,7 +75,7 @@ printWidth=60 (in snapshot)
7575
"
7676
`;
7777
78-
exports[`'(5) When expressions are joined by the logical OR operator, line wrapping is supported only in the last operand.' > expectation 1`] = `
78+
exports[`'(5) When expressions are joined by th…' > expectation 1`] = `
7979
"//---------------------------------------------------------|
8080
printWidth=60 (in snapshot)
8181
<div>
@@ -94,7 +94,7 @@ printWidth=60 (in snapshot)
9494
"
9595
`;
9696
97-
exports[`'(6) When expressions are joined by the logical OR operator, line wrapping is supported only in the last operand.' > expectation 1`] = `
97+
exports[`'(6) When expressions are joined by th…' > expectation 1`] = `
9898
"//---------------------------------------------------------|
9999
printWidth=60 (in snapshot)
100100
<div>
@@ -116,7 +116,7 @@ printWidth=60 (in snapshot)
116116
"
117117
`;
118118
119-
exports[`'(7) When expressions are joined by the nullish coalescing operator, line wrapping is supported only in the last operand.' > expectation 1`] = `
119+
exports[`'(7) When expressions are joined by th…' > expectation 1`] = `
120120
"//---------------------------------------------------------|
121121
printWidth=60 (in snapshot)
122122
<div>
@@ -133,7 +133,7 @@ printWidth=60 (in snapshot)
133133
"
134134
`;
135135
136-
exports[`'(8) When expressions are joined by the nullish coalescing operator, line wrapping is supported only in the last operand.' > expectation 1`] = `
136+
exports[`'(8) When expressions are joined by th…' > expectation 1`] = `
137137
"//---------------------------------------------------------|
138138
printWidth=60 (in snapshot)
139139
<div>
@@ -151,7 +151,7 @@ printWidth=60 (in snapshot)
151151
"
152152
`;
153153
154-
exports[`'(9) When expressions are joined by the nullish coalescing operator, line wrapping is supported only in the last operand.' > expectation 1`] = `
154+
exports[`'(9) When expressions are joined by th…' > expectation 1`] = `
155155
"//---------------------------------------------------------|
156156
printWidth=60 (in snapshot)
157157
<div>

tests/astro/binary-operator/__snapshots__/relative.test.ts.snap

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
22

3-
exports[`'(1) When expressions are joined by the logical AND operator, line wrapping is supported only in the last operand.' > expectation 1`] = `
3+
exports[`'(1) When expressions are joined by th…' > expectation 1`] = `
44
"//---------------------------------------------------------|
55
printWidth=60 (in snapshot)
66
<div>
@@ -17,7 +17,7 @@ printWidth=60 (in snapshot)
1717
"
1818
`;
1919
20-
exports[`'(2) When expressions are joined by the logical AND operator, line wrapping is supported only in the last operand.' > expectation 1`] = `
20+
exports[`'(2) When expressions are joined by th…' > expectation 1`] = `
2121
"//---------------------------------------------------------|
2222
printWidth=60 (in snapshot)
2323
<div>
@@ -36,7 +36,7 @@ printWidth=60 (in snapshot)
3636
"
3737
`;
3838
39-
exports[`'(3) When expressions are joined by the logical AND operator, line wrapping is supported only in the last operand.' > expectation 1`] = `
39+
exports[`'(3) When expressions are joined by th…' > expectation 1`] = `
4040
"//---------------------------------------------------------|
4141
printWidth=60 (in snapshot)
4242
<div>
@@ -56,7 +56,7 @@ printWidth=60 (in snapshot)
5656
"
5757
`;
5858
59-
exports[`'(4) When expressions are joined by the logical OR operator, line wrapping is supported only in the last operand.' > expectation 1`] = `
59+
exports[`'(4) When expressions are joined by th…' > expectation 1`] = `
6060
"//---------------------------------------------------------|
6161
printWidth=60 (in snapshot)
6262
<div>
@@ -73,7 +73,7 @@ printWidth=60 (in snapshot)
7373
"
7474
`;
7575
76-
exports[`'(5) When expressions are joined by the logical OR operator, line wrapping is supported only in the last operand.' > expectation 1`] = `
76+
exports[`'(5) When expressions are joined by th…' > expectation 1`] = `
7777
"//---------------------------------------------------------|
7878
printWidth=60 (in snapshot)
7979
<div>
@@ -92,7 +92,7 @@ printWidth=60 (in snapshot)
9292
"
9393
`;
9494
95-
exports[`'(6) When expressions are joined by the logical OR operator, line wrapping is supported only in the last operand.' > expectation 1`] = `
95+
exports[`'(6) When expressions are joined by th…' > expectation 1`] = `
9696
"//---------------------------------------------------------|
9797
printWidth=60 (in snapshot)
9898
<div>
@@ -112,7 +112,7 @@ printWidth=60 (in snapshot)
112112
"
113113
`;
114114
115-
exports[`'(7) When expressions are joined by the nullish coalescing operator, line wrapping is supported only in the last operand.' > expectation 1`] = `
115+
exports[`'(7) When expressions are joined by th…' > expectation 1`] = `
116116
"//---------------------------------------------------------|
117117
printWidth=60 (in snapshot)
118118
<div>
@@ -129,7 +129,7 @@ printWidth=60 (in snapshot)
129129
"
130130
`;
131131
132-
exports[`'(8) When expressions are joined by the nullish coalescing operator, line wrapping is supported only in the last operand.' > expectation 1`] = `
132+
exports[`'(8) When expressions are joined by th…' > expectation 1`] = `
133133
"//---------------------------------------------------------|
134134
printWidth=60 (in snapshot)
135135
<div>
@@ -147,7 +147,7 @@ printWidth=60 (in snapshot)
147147
"
148148
`;
149149
150-
exports[`'(9) When expressions are joined by the nullish coalescing operator, line wrapping is supported only in the last operand.' > expectation 1`] = `
150+
exports[`'(9) When expressions are joined by th…' > expectation 1`] = `
151151
"//---------------------------------------------------------|
152152
printWidth=60 (in snapshot)
153153
<div>

tests/astro/complex-template/__snapshots__/absolute.test.ts.snap

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
22

3-
exports[`'(1) nested expression - string literal basic' > expectation 1`] = `
3+
exports[`'(1) nested expression - string litera…' > expectation 1`] = `
44
"<div>
55
<div>
66
<div
@@ -15,7 +15,7 @@ exports[`'(1) nested expression - string literal basic' > expectation 1`] = `
1515
"
1616
`;
1717
18-
exports[`'(2) nested expression - template literal basic' > expectation 1`] = `
18+
exports[`'(2) nested expression - template lite…' > expectation 1`] = `
1919
"<div>
2020
<div>
2121
<div
@@ -30,7 +30,7 @@ exports[`'(2) nested expression - template literal basic' > expectation 1`] = `
3030
"
3131
`;
3232
33-
exports[`'(3) double nested expression - string literal basic' > expectation 1`] = `
33+
exports[`'(3) double nested expression - string' > expectation 1`] = `
3434
"<div>
3535
<div>
3636
<div
@@ -47,7 +47,7 @@ exports[`'(3) double nested expression - string literal basic' > expectation 1`]
4747
"
4848
`;
4949
50-
exports[`'(4) double nested expression - template literal basic' > expectation 1`] = `
50+
exports[`'(4) double nested expression - templa…' > expectation 1`] = `
5151
"<div>
5252
<div>
5353
<div
@@ -64,7 +64,7 @@ exports[`'(4) double nested expression - template literal basic' > expectation 1
6464
"
6565
`;
6666
67-
exports[`'(5) nested expression - string literal ternary' > expectation 1`] = `
67+
exports[`'(5) nested expression - string litera…' > expectation 1`] = `
6868
"<div>
6969
<div>
7070
<div
@@ -83,7 +83,7 @@ exports[`'(5) nested expression - string literal ternary' > expectation 1`] = `
8383
"
8484
`;
8585
86-
exports[`'(6) nested expression - template literal ternary' > expectation 1`] = `
86+
exports[`'(6) nested expression - template lite…' > expectation 1`] = `
8787
"<div>
8888
<div>
8989
<div
@@ -102,7 +102,7 @@ exports[`'(6) nested expression - template literal ternary' > expectation 1`] =
102102
"
103103
`;
104104
105-
exports[`'(7) double nested expression - string literal ternary' > expectation 1`] = `
105+
exports[`'(7) double nested expression - string' > expectation 1`] = `
106106
"<div>
107107
<div>
108108
<div
@@ -123,7 +123,7 @@ exports[`'(7) double nested expression - string literal ternary' > expectation 1
123123
"
124124
`;
125125
126-
exports[`'(8) double nested expression - template literal ternary' > expectation 1`] = `
126+
exports[`'(8) double nested expression - templa…' > expectation 1`] = `
127127
"<div>
128128
<div>
129129
<div

tests/astro/complex-template/__snapshots__/relative.test.ts.snap

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
22

3-
exports[`'(1) nested expression - string literal basic' > expectation 1`] = `
3+
exports[`'(1) nested expression - string litera…' > expectation 1`] = `
44
"<div>
55
<div>
66
<div
@@ -15,7 +15,7 @@ exports[`'(1) nested expression - string literal basic' > expectation 1`] = `
1515
"
1616
`;
1717
18-
exports[`'(2) nested expression - template literal basic' > expectation 1`] = `
18+
exports[`'(2) nested expression - template lite…' > expectation 1`] = `
1919
"<div>
2020
<div>
2121
<div
@@ -30,7 +30,7 @@ exports[`'(2) nested expression - template literal basic' > expectation 1`] = `
3030
"
3131
`;
3232
33-
exports[`'(3) double nested expression - string literal basic' > expectation 1`] = `
33+
exports[`'(3) double nested expression - string' > expectation 1`] = `
3434
"<div>
3535
<div>
3636
<div
@@ -47,7 +47,7 @@ exports[`'(3) double nested expression - string literal basic' > expectation 1`]
4747
"
4848
`;
4949
50-
exports[`'(4) double nested expression - template literal basic' > expectation 1`] = `
50+
exports[`'(4) double nested expression - templa…' > expectation 1`] = `
5151
"<div>
5252
<div>
5353
<div
@@ -64,7 +64,7 @@ exports[`'(4) double nested expression - template literal basic' > expectation 1
6464
"
6565
`;
6666
67-
exports[`'(5) nested expression - string literal ternary' > expectation 1`] = `
67+
exports[`'(5) nested expression - string litera…' > expectation 1`] = `
6868
"<div>
6969
<div>
7070
<div
@@ -82,7 +82,7 @@ exports[`'(5) nested expression - string literal ternary' > expectation 1`] = `
8282
"
8383
`;
8484
85-
exports[`'(6) nested expression - template literal ternary' > expectation 1`] = `
85+
exports[`'(6) nested expression - template lite…' > expectation 1`] = `
8686
"<div>
8787
<div>
8888
<div
@@ -100,7 +100,7 @@ exports[`'(6) nested expression - template literal ternary' > expectation 1`] =
100100
"
101101
`;
102102
103-
exports[`'(7) double nested expression - string literal ternary' > expectation 1`] = `
103+
exports[`'(7) double nested expression - string' > expectation 1`] = `
104104
"<div>
105105
<div>
106106
<div
@@ -120,7 +120,7 @@ exports[`'(7) double nested expression - string literal ternary' > expectation 1
120120
"
121121
`;
122122
123-
exports[`'(8) double nested expression - template literal ternary' > expectation 1`] = `
123+
exports[`'(8) double nested expression - templa…' > expectation 1`] = `
124124
"<div>
125125
<div>
126126
<div

0 commit comments

Comments
 (0)