Skip to content

Commit

Permalink
Update jest test
Browse files Browse the repository at this point in the history
  • Loading branch information
Liza K committed Mar 1, 2020
1 parent d95b947 commit b3a2d74
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,7 @@ describe('defaultSearchStrategy', function() {
test('should call new search service', () => {
const config = getConfigStub();
search({ ...searchArgs, config });
expect(searchMock).toHaveBeenCalled();
expect(newSearchMock).toHaveBeenCalledTimes(0);
expect(newSearchMock).toHaveBeenCalledTimes(1);
});

test('should properly abort with new search service', async () => {
Expand Down

0 comments on commit b3a2d74

Please sign in to comment.