@@ -211,38 +211,42 @@ color: red
211
211
expect (
212
212
compileScoped ( `.div { color: red; } .div:where(:hover) { color: blue; }` ) ,
213
213
) . toMatchInlineSnapshot ( `
214
- ".div[data-v-test] { color: red;
215
- }
216
- .div[data-v-test]:where(:hover) { color: blue;
217
- }"` )
214
+ ".div[data-v-test] { color: red;
215
+ }
216
+ .div[data-v-test]:where(:hover) { color: blue;
217
+ }"
218
+ ` )
218
219
219
220
expect (
220
221
compileScoped ( `.div { color: red; } .div:is(:hover) { color: blue; }` ) ,
221
222
) . toMatchInlineSnapshot ( `
222
- ".div[data-v-test] { color: red;
223
- }
224
- .div[data-v-test]:is(:hover) { color: blue;
225
- }"` )
223
+ ".div[data-v-test] { color: red;
224
+ }
225
+ .div[data-v-test]:is(:hover) { color: blue;
226
+ }"
227
+ ` )
226
228
227
229
expect (
228
230
compileScoped (
229
231
`.div { color: red; } .div:where(.foo:hover) { color: blue; }` ,
230
232
) ,
231
233
) . toMatchInlineSnapshot ( `
232
- ".div[data-v-test] { color: red;
233
- }
234
- .div[data-v-test]:where(.foo:hover) { color: blue;
235
- }"` )
234
+ ".div[data-v-test] { color: red;
235
+ }
236
+ .div[data-v-test]:where(.foo:hover) { color: blue;
237
+ }"
238
+ ` )
236
239
237
240
expect (
238
241
compileScoped (
239
242
`.div { color: red; } .div:is(.foo:hover) { color: blue; }` ,
240
243
) ,
241
244
) . toMatchInlineSnapshot ( `
242
- ".div[data-v-test] { color: red;
243
- }
244
- .div[data-v-test]:is(.foo:hover) { color: blue;
245
- }"` )
245
+ ".div[data-v-test] { color: red;
246
+ }
247
+ .div[data-v-test]:is(.foo:hover) { color: blue;
248
+ }"
249
+ ` )
246
250
} )
247
251
248
252
test ( 'media query' , ( ) => {
0 commit comments