Skip to content

Commit

Permalink
test: fix test case being too specific
Browse files Browse the repository at this point in the history
  • Loading branch information
jely2002 committed May 18, 2021
1 parent b2290b6 commit 365100e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Query.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ describe('Query without callback', () => {
const errorHandlerMock = jest.fn();
const instance = instanceBuilder(true, null, errorHandlerMock, "python");
return instance.start("https://url.link", [], null).then(() => {
expect(errorHandlerMock).toBeCalledTimes(1);
expect(errorHandlerMock).toBeCalled();
});
});
})
Expand Down

0 comments on commit 365100e

Please sign in to comment.