From 865775de793b30b3bcf4afbb004fbbb4a625a569 Mon Sep 17 00:00:00 2001 From: yeliex Date: Wed, 11 Sep 2024 18:31:33 +0800 Subject: [PATCH] test: add missing `await using` (#89) Co-authored-by: Hiroki Osame --- tests/specs/builds/typescript.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/specs/builds/typescript.ts b/tests/specs/builds/typescript.ts index 8c5dbff..4e7f7df 100644 --- a/tests/specs/builds/typescript.ts +++ b/tests/specs/builds/typescript.ts @@ -184,7 +184,7 @@ export default testSuite(({ describe }, nodePath: string) => { }); test('error on invalid tsconfig.json path', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ src: { 'index.ts': 'export default () => "foo";', },