Skip to content

Commit 48396b2

Browse files
committed
fix: Add pending test case for scss nesting.
There was a copy/pasted test case where the description got updated, but the test itself didn't match. I updated the test case, but since it's failing, it's currently marked as "pending".
1 parent 7c5c15c commit 48396b2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/@css-blocks/bem-to-blocks/test/plugin-test.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ describe("converts BEM to blocks", () => {
6363
});
6464
});
6565

66-
it("respects scss nesting", async () => {
66+
it.skip("respects scss nesting", async () => {
6767
return postcss([bemToBlocksPlugin])
68-
.process(`@import "restyle"; .jobs-entry__image--big[state=red] {color: blue}`)
68+
.process(`.jobs-entry__image { &--big {color: blue} }`)
6969
.then(output => {
70-
assert.equal(output.toString(), `@import "restyle"; .image[big][state=red] {color: blue}`);
70+
assert.equal(output.toString(), `.image { &[big] {color: blue} }`);
7171
});
7272
});
7373

0 commit comments

Comments
 (0)