Fixed TS error in SearchBar test

This commit is contained in:
Alejandro Celaya 2021-11-11 21:38:37 +01:00
parent 0642443aa9
commit 7bc3819ebe

View file

@ -18,7 +18,6 @@ describe('<SearchBar />', () => {
const createWrapper = (props: Partial<SearchBarProps> = {}) => {
wrapper = shallow(
<SearchBar
shortUrlsListParams={{}}
history={Mock.of<History>({ push })}
location={Mock.of<Location>({ search: '' })}
match={Mock.of<match<ShortUrlListRouteParams>>({ params: { serverId: '1' } })}