Skip to content

Commit f27d468

Browse files
test: update
1 parent 1c5ef0c commit f27d468

2 files changed

Lines changed: 64 additions & 46 deletions

File tree

test/configCases/css/charset/__snapshots__/ConfigCacheTest.snap

Lines changed: 32 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -152,49 +152,58 @@ exports[`ConfigCacheTestCases css charset exported tests should handle \`@charse
152152

153153
exports[`ConfigCacheTestCases css charset exported tests should handle \`@charset\` at-rule 4`] = `
154154
"@charset \\"UTF-8\\";
155-
/*!*******************************************************!*\\\\
156-
!*** css ./import-nested.text.css (exportType: text) ***!
157-
\\\\*******************************************************/
155+
.import-nested {
156+
color: red;
157+
}.import-nested {
158+
color: red;
159+
}.import {
160+
color: red;
161+
}/*!************************************************************************!*\\\\
162+
!*** css ./styles-5.css-style-sheet.css (exportType: css-style-sheet) ***!
163+
\\\\************************************************************************/
158164
159165
160-
.import-nested {
166+
167+
.class-5 {
161168
color: red;
162169
}
163170
164-
/*!***************************************************************!*\\\\
165-
!*** css ./import-nested.text.css?foo=bar (exportType: text) ***!
166-
\\\\***************************************************************/
171+
"
172+
`;
167173

174+
exports[`ConfigCacheTestCases css charset exported tests should handle \`@charset\` at-rule 5`] = `
175+
Array [
176+
"/*!********************************************************!*\\\\
177+
!*** css ./import-nested.text.css (exportType: style) ***!
178+
\\\\********************************************************/
179+
@charset \\"UTF-8\\";
168180
169181
.import-nested {
170182
color: red;
171183
}
172184
173-
/*!************************************************!*\\\\
174-
!*** css ./import.text.css (exportType: text) ***!
175-
\\\\************************************************/
176-
177-
185+
",
186+
"/*!****************************************************************!*\\\\
187+
!*** css ./import-nested.text.css?foo=bar (exportType: style) ***!
188+
\\\\****************************************************************/
189+
@charset \\"UTF-8\\";
178190
179-
.import {
191+
.import-nested {
180192
color: red;
181193
}
182194
183-
/*!************************************************************************!*\\\\
184-
!*** css ./styles-5.css-style-sheet.css (exportType: css-style-sheet) ***!
185-
\\\\************************************************************************/
186-
195+
",
196+
"/*!*************************************************!*\\\\
197+
!*** css ./import.text.css (exportType: style) ***!
198+
\\\\*************************************************/
199+
@charset \\"UTF-8\\";
187200
188201
189-
.class-5 {
202+
.import {
190203
color: red;
191204
}
192205
193-
"
194-
`;
195-
196-
exports[`ConfigCacheTestCases css charset exported tests should handle \`@charset\` at-rule 5`] = `
197-
Array [
206+
",
198207
"/*!****************************************************!*\\\\
199208
!*** css ./styles-6.style.css (exportType: style) ***!
200209
\\\\****************************************************/

test/configCases/css/charset/__snapshots__/ConfigTest.snap

Lines changed: 32 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -152,49 +152,58 @@ exports[`ConfigTestCases css charset exported tests should handle \`@charset\` a
152152

153153
exports[`ConfigTestCases css charset exported tests should handle \`@charset\` at-rule 4`] = `
154154
"@charset \\"UTF-8\\";
155-
/*!*******************************************************!*\\\\
156-
!*** css ./import-nested.text.css (exportType: text) ***!
157-
\\\\*******************************************************/
155+
.import-nested {
156+
color: red;
157+
}.import-nested {
158+
color: red;
159+
}.import {
160+
color: red;
161+
}/*!************************************************************************!*\\\\
162+
!*** css ./styles-5.css-style-sheet.css (exportType: css-style-sheet) ***!
163+
\\\\************************************************************************/
158164
159165
160-
.import-nested {
166+
167+
.class-5 {
161168
color: red;
162169
}
163170
164-
/*!***************************************************************!*\\\\
165-
!*** css ./import-nested.text.css?foo=bar (exportType: text) ***!
166-
\\\\***************************************************************/
171+
"
172+
`;
167173

174+
exports[`ConfigTestCases css charset exported tests should handle \`@charset\` at-rule 5`] = `
175+
Array [
176+
"/*!********************************************************!*\\\\
177+
!*** css ./import-nested.text.css (exportType: style) ***!
178+
\\\\********************************************************/
179+
@charset \\"UTF-8\\";
168180
169181
.import-nested {
170182
color: red;
171183
}
172184
173-
/*!************************************************!*\\\\
174-
!*** css ./import.text.css (exportType: text) ***!
175-
\\\\************************************************/
176-
177-
185+
",
186+
"/*!****************************************************************!*\\\\
187+
!*** css ./import-nested.text.css?foo=bar (exportType: style) ***!
188+
\\\\****************************************************************/
189+
@charset \\"UTF-8\\";
178190
179-
.import {
191+
.import-nested {
180192
color: red;
181193
}
182194
183-
/*!************************************************************************!*\\\\
184-
!*** css ./styles-5.css-style-sheet.css (exportType: css-style-sheet) ***!
185-
\\\\************************************************************************/
186-
195+
",
196+
"/*!*************************************************!*\\\\
197+
!*** css ./import.text.css (exportType: style) ***!
198+
\\\\*************************************************/
199+
@charset \\"UTF-8\\";
187200
188201
189-
.class-5 {
202+
.import {
190203
color: red;
191204
}
192205
193-
"
194-
`;
195-
196-
exports[`ConfigTestCases css charset exported tests should handle \`@charset\` at-rule 5`] = `
197-
Array [
206+
",
198207
"/*!****************************************************!*\\\\
199208
!*** css ./styles-6.style.css (exportType: style) ***!
200209
\\\\****************************************************/

0 commit comments

Comments
 (0)