Skip to content

Commit d12029b

Browse files
committed
testing import-define
1 parent 5172b56 commit d12029b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,9 @@ describe('constants', () => {
5959
':import("./colors.css") {\n i__const_red_5: red\n}'
6060
)
6161
})
62+
63+
it('should import a simple constant with import-define', () => {
64+
test('@import-define red from "./colors.css";', ':import("./colors.css") {\n i__const_red_6: red\n}')
65+
})
6266
})
6367

0 commit comments

Comments
 (0)