mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-10 09:33:51 +00:00
Fixed TS error in SearchBar test
This commit is contained in:
@@ -18,7 +18,6 @@ describe('<SearchBar />', () => {
|
|||||||
const createWrapper = (props: Partial<SearchBarProps> = {}) => {
|
const createWrapper = (props: Partial<SearchBarProps> = {}) => {
|
||||||
wrapper = shallow(
|
wrapper = shallow(
|
||||||
<SearchBar
|
<SearchBar
|
||||||
shortUrlsListParams={{}}
|
|
||||||
history={Mock.of<History>({ push })}
|
history={Mock.of<History>({ push })}
|
||||||
location={Mock.of<Location>({ search: '' })}
|
location={Mock.of<Location>({ search: '' })}
|
||||||
match={Mock.of<match<ShortUrlListRouteParams>>({ params: { serverId: '1' } })}
|
match={Mock.of<match<ShortUrlListRouteParams>>({ params: { serverId: '1' } })}
|
||||||
|
|||||||
Reference in New Issue
Block a user