Skip to content

Commit 7a4446f

Browse files
committed
Test :import and :export are ignored, closes #3
1 parent 5106dc0 commit 7a4446f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

test.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,16 @@ var tests = [
8888
should: 'ignore psuedo elements that are already local',
8989
input: ':local(.foo):after {}',
9090
expected: ':local(.foo):after {}'
91+
},
92+
{
93+
should: 'ignore :export statemtents',
94+
input: ':export { foo: __foo; }',
95+
expected: ':export { foo: __foo; }'
96+
},
97+
{
98+
should: 'ignore :import statemtents',
99+
input: ':import("~/lol.css") { foo: __foo; }',
100+
expected: ':import("~/lol.css") { foo: __foo; }'
91101
}
92102
];
93103

0 commit comments

Comments
 (0)