mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-18 13:33:51 +00:00
Fixed some tests after not injecting a component
This commit is contained in:
@@ -9,7 +9,7 @@ import DateRangeRow from '../../src/utils/DateRangeRow';
|
||||
describe('<SearchBar />', () => {
|
||||
let wrapper;
|
||||
const listShortUrlsMock = jest.fn();
|
||||
const SearchBar = searchBarCreator({});
|
||||
const SearchBar = searchBarCreator({}, () => '');
|
||||
|
||||
afterEach(() => {
|
||||
listShortUrlsMock.mockReset();
|
||||
|
||||
Reference in New Issue
Block a user