Skip to content

Commit

Permalink
Use async project.write method
Browse files Browse the repository at this point in the history
  • Loading branch information
simonihmig committed Sep 10, 2024
1 parent b7c8163 commit 019224f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ember-auto-import/ts/tests/splitter-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down Expand Up @@ -66,7 +66,7 @@ Qmodule('splitter', function (hooks) {
},
});

project.writeSync();
await project.write();

setup = function (options: Options = {}) {
pack = new Package(stubAddonInstance(project.baseDir, options));
Expand Down

0 comments on commit 019224f

Please sign in to comment.