Skip to content

Commit

Permalink
feat(composition): fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
boformer authored and skovy committed Feb 21, 2021
1 parent b3a09db commit 60ede35
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion __tests__/core/generate.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ describeAllImplementations((implementation) => {
logLevel: "verbose",
});

expect(fs.writeFileSync).toBeCalledTimes(5);
expect(fs.writeFileSync).toBeCalledTimes(6);
});
});
});
4 changes: 2 additions & 2 deletions __tests__/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describeAllImplementations((implementation) => {
logLevel: "verbose",
});

expect(fs.writeFileSync).toBeCalledTimes(5);
expect(fs.writeFileSync).toBeCalledTimes(6);

const expectedDirname = slash(path.join(__dirname, "dummy-styles"));

Expand Down Expand Up @@ -63,7 +63,7 @@ describeAllImplementations((implementation) => {
logLevel: "verbose",
});

expect(fs.writeFileSync).toBeCalledTimes(3);
expect(fs.writeFileSync).toBeCalledTimes(4);

const expectedDirname = slash(path.join(__dirname, "dummy-styles"));

Expand Down

0 comments on commit 60ede35

Please sign in to comment.