Skip to content

Commit f51ae4a

Browse files
authoredDec 12, 2024··
Replace @import with @use in tests (#353)
1 parent 5a10661 commit f51ae4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎lib/src/compiler.test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,14 @@ describe('compiler', () => {
5959

6060
describe('compilation ID', () => {
6161
it('resets after callback compilations complete', () => {
62-
compiler.compileString('@import "foo"', {importers});
62+
compiler.compileString('@use "foo"', {importers});
6363
compiler.compileString('');
6464
expect(getIdHistory()).toEqual([1, 2, 1]);
6565
});
6666

6767
it('keeps working after failed compilations', () => {
6868
expect(() => compiler.compileString('invalid')).toThrow();
69-
compiler.compileString('@import "foo"', {importers});
69+
compiler.compileString('@use "foo"', {importers});
7070
expect(getIdHistory()).toEqual([1, 1, 2]);
7171
});
7272
});

0 commit comments

Comments
 (0)
Please sign in to comment.