From 019224fe61b6691b9d79e5bcab25f8e6e276129d Mon Sep 17 00:00:00 2001 From: Simon Ihmig Date: Fri, 6 Sep 2024 15:05:29 +0200 Subject: [PATCH] Use async project.write method --- packages/ember-auto-import/ts/tests/splitter-test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/ember-auto-import/ts/tests/splitter-test.ts b/packages/ember-auto-import/ts/tests/splitter-test.ts index 383012f4..00729170 100644 --- a/packages/ember-auto-import/ts/tests/splitter-test.ts +++ b/packages/ember-auto-import/ts/tests/splitter-test.ts @@ -27,7 +27,7 @@ Qmodule('splitter', function (hooks) { let splitter: Splitter; let setup: (options?: Options) => void; - hooks.beforeEach(function (this: any) { + hooks.beforeEach(async function (this: any) { project = new Project('my-app', { files: { lib: { @@ -66,7 +66,7 @@ Qmodule('splitter', function (hooks) { }, }); - project.writeSync(); + await project.write(); setup = function (options: Options = {}) { pack = new Package(stubAddonInstance(project.baseDir, options));