mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2025-01-11 02:37:22 +03:00
Fixed TS error in SearchBar test
This commit is contained in:
parent
0642443aa9
commit
7bc3819ebe
1 changed files with 0 additions and 1 deletions
|
@ -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' } })}
|
||||||
|
|
Loading…
Reference in a new issue