mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2025-01-10 18:27:25 +03:00
Added missing prop
This commit is contained in:
parent
308660287e
commit
f0b42cdc09
1 changed files with 2 additions and 1 deletions
|
@ -7,6 +7,7 @@ import SearchField from '../../src/utils/SearchField';
|
|||
import Tag from '../../src/tags/helpers/Tag';
|
||||
import { DateRangeSelector } from '../../src/utils/dates/DateRangeSelector';
|
||||
import ColorGenerator from '../../src/utils/services/ColorGenerator';
|
||||
import { SelectedServer } from '../../src/servers/data';
|
||||
|
||||
jest.mock('react-router-dom', () => ({
|
||||
...jest.requireActual('react-router-dom'),
|
||||
|
@ -24,7 +25,7 @@ describe('<ShortUrlsFilteringBar />', () => {
|
|||
(useLocation as any).mockReturnValue({ search });
|
||||
(useNavigate as any).mockReturnValue(navigate);
|
||||
|
||||
wrapper = shallow(<ShortUrlsFilteringBar />);
|
||||
wrapper = shallow(<ShortUrlsFilteringBar selectedServer={Mock.all<SelectedServer>()} />);
|
||||
|
||||
return wrapper;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue