Skip to content

Commit b50de7c

Browse files
committed
Use async project.write method
1 parent 68a36a3 commit b50de7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/ember-auto-import/ts/tests/splitter-test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Qmodule('splitter', function (hooks) {
2727
let splitter: Splitter;
2828
let setup: (options?: Options) => void;
2929

30-
hooks.beforeEach(function (this: any) {
30+
hooks.beforeEach(async function (this: any) {
3131
project = new Project('my-app', {
3232
files: {
3333
lib: {
@@ -66,7 +66,7 @@ Qmodule('splitter', function (hooks) {
6666
},
6767
});
6868

69-
project.writeSync();
69+
await project.write();
7070

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

0 commit comments

Comments
 (0)