mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2025-12-10 00:27:25 -06:00
Fix typechecks
This commit is contained in:
parent
4f2f3e3aea
commit
10ca9bd457
603
package-lock.json
generated
603
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -11,7 +11,7 @@ describe('<MainHeader />', () => {
|
||||
history.push(pathname);
|
||||
|
||||
return renderWithStore(
|
||||
<Router location={history.location} navigator={history}>
|
||||
<Router location={history.location} navigator={history} unstable_useTransitions={false}>
|
||||
<MainHeader />
|
||||
</Router>,
|
||||
);
|
||||
|
||||
@ -29,7 +29,7 @@ describe('<CreateServer />', () => {
|
||||
return {
|
||||
history,
|
||||
...renderWithStore(
|
||||
<Router location={history.location} navigator={history}>
|
||||
<Router location={history.location} navigator={history} unstable_useTransitions={false}>
|
||||
<CreateServer useTimeoutToggle={useTimeoutToggle} />
|
||||
</Router>,
|
||||
{
|
||||
|
||||
@ -11,7 +11,7 @@ describe('<DeleteServerButton />', () => {
|
||||
const setUp = (children: ReactNode = 'Remove this server') => {
|
||||
const history = createMemoryHistory({ initialEntries: ['/foo'] });
|
||||
const result = renderWithStore(
|
||||
<Router location={history.location} navigator={history}>
|
||||
<Router location={history.location} navigator={history} unstable_useTransitions={false}>
|
||||
<DeleteServerButton server={fromPartial({})}>{children}</DeleteServerButton>
|
||||
</Router>,
|
||||
);
|
||||
|
||||
@ -20,7 +20,7 @@ describe('<EditServer />', () => {
|
||||
return {
|
||||
history,
|
||||
...renderWithStore(
|
||||
<Router location={history.location} navigator={history}>
|
||||
<Router location={history.location} navigator={history} unstable_useTransitions={false}>
|
||||
<EditServer />
|
||||
</Router>,
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user