Skip to content

Commit 65de7f4

Browse files
committed
chore: simplify test
1 parent 5aa88fe commit 65de7f4

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

packages/compiler-sfc/__tests__/compileStyle.spec.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,29 +40,21 @@ describe('SFC scoped CSS', () => {
4040
`h1 .foo[data-v-test] { color: red;`,
4141
)
4242

43-
// https://github.com/vuejs/core/issues/13387
43+
// #13387
4444
expect(
4545
compileScoped(`main {
46-
display: flex;
47-
flex-direction: column;
48-
background: yellowgreen;
4946
width: 100%;
5047
> * {
5148
max-width: 200px;
52-
background-color: yellow;
5349
}
5450
}`),
5551
).toMatchInlineSnapshot(`
5652
"main {
5753
&[data-v-test] {
58-
display: flex;
59-
flex-direction: column;
60-
background: yellowgreen;
6154
width: 100%;
6255
}
6356
> *[data-v-test] {
6457
max-width: 200px;
65-
background-color: yellow;
6658
}
6759
}"`)
6860
})

0 commit comments

Comments
 (0)