mirror of
https://github.com/jely2002/youtube-dl-gui.git
synced 2021-11-01 22:46:21 +03:00
test: fix test case being too specific
This commit is contained in:
@@ -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();
|
||||
});
|
||||
});
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user