mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2024-12-23 01:20:24 +03:00
Fixed types in Overview component test
This commit is contained in:
parent
460d2d23ce
commit
71b68562db
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
import { FC } from 'react';
|
||||
import { FC, PropsWithChildren } from 'react';
|
||||
import { mount, ReactWrapper } from 'enzyme';
|
||||
import { Mock } from 'ts-mockery';
|
||||
import { Link, MemoryRouter } from 'react-router-dom';
|
||||
|
@ -15,7 +15,7 @@ describe('<Overview />', () => {
|
|||
let wrapper: ReactWrapper;
|
||||
const ShortUrlsTable = () => null;
|
||||
const CreateShortUrl = () => null;
|
||||
const ForServerVersion: FC = ({ children }) => <>{children}</>;
|
||||
const ForServerVersion: FC<PropsWithChildren<unknown>> = ({ children }) => <>{children}</>;
|
||||
const listShortUrls = jest.fn();
|
||||
const listTags = jest.fn();
|
||||
const loadVisitsOverview = jest.fn();
|
||||
|
|
Loading…
Reference in a new issue