Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
prateekbh committed Oct 31, 2020
1 parent 74933cc commit 414053a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/tests/build.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ describe('preact build', () => {
expect(build(dir, { 'service-worker': false })).rejects.toEqual(
new Error('Invalid argunment found.')
);
mockExit.mockRestore();
expect(mockExit).toHaveBeenCalledWith(1);
mockExit.mockRestore();
});
});

0 comments on commit 414053a

Please sign in to comment.