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 6, 2024
1 parent 68a36a3 commit b50de7c
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 b50de7c

Please sign in to comment.