mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-04-19 21:16:18 +00:00
Add import type whenever possible
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { render, screen } from '@testing-library/react';
|
||||
import { PropsWithChildren } from 'react';
|
||||
import { Message, MessageProps } from '../../src/utils/Message';
|
||||
import type { PropsWithChildren } from 'react';
|
||||
import type { MessageProps } from '../../src/utils/Message';
|
||||
import { Message } from '../../src/utils/Message';
|
||||
|
||||
describe('<Message />', () => {
|
||||
const setUp = (props: PropsWithChildren<MessageProps> = {}) => render(<Message {...props} />);
|
||||
|
||||
Reference in New Issue
Block a user