Skip to content

Commit

Permalink
Fix test mock.
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeelmers committed Sep 17, 2020
1 parent 88dec35 commit 4b23f72
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import { GetConfigFn } from '../../types';
import { fetchSoon } from './legacy';
import { SearchSource, SearchSourceDependencies, SortDirection } from './';

jest.mock('../legacy', () => ({
jest.mock('./legacy', () => ({
fetchSoon: jest.fn().mockResolvedValue({}),
}));

Expand Down

0 comments on commit 4b23f72

Please sign in to comment.