From f51ae4a5fad83a4428fb5ae3408e360e048bdfa1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=AA=E3=81=A4=E3=81=8D?= Date: Thu, 12 Dec 2024 14:16:46 -0800 Subject: [PATCH] Replace `@import` with `@use` in tests (#353) --- lib/src/compiler.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/compiler.test.ts b/lib/src/compiler.test.ts index 2da0c0b6..0822a567 100644 --- a/lib/src/compiler.test.ts +++ b/lib/src/compiler.test.ts @@ -59,14 +59,14 @@ describe('compiler', () => { describe('compilation ID', () => { it('resets after callback compilations complete', () => { - compiler.compileString('@import "foo"', {importers}); + compiler.compileString('@use "foo"', {importers}); compiler.compileString(''); expect(getIdHistory()).toEqual([1, 2, 1]); }); it('keeps working after failed compilations', () => { expect(() => compiler.compileString('invalid')).toThrow(); - compiler.compileString('@import "foo"', {importers}); + compiler.compileString('@use "foo"', {importers}); expect(getIdHistory()).toEqual([1, 1, 2]); }); });