mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-04-21 22:16:17 +00:00
Add import type whenever possible
This commit is contained in:
@@ -2,7 +2,7 @@ import { render, screen } from '@testing-library/react';
|
||||
import { MemoryRouter } from 'react-router-dom';
|
||||
import { Mock } from 'ts-mockery';
|
||||
import { ServerError as createServerError } from '../../../src/servers/helpers/ServerError';
|
||||
import { NonReachableServer, NotFoundServer } from '../../../src/servers/data';
|
||||
import type { NonReachableServer, NotFoundServer } from '../../../src/servers/data';
|
||||
|
||||
describe('<ServerError />', () => {
|
||||
const ServerError = createServerError(() => null);
|
||||
|
||||
Reference in New Issue
Block a user