mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-08-04 10:01:54 +00:00
Fix incorrect types between testing library and vitest
This commit is contained in:
@@ -13,8 +13,6 @@ describe('<CreateShortUrlResult />', () => {
|
||||
<CreateShortUrlResult resetCreateShortUrl={() => {}} creation={creation} />,
|
||||
);
|
||||
|
||||
afterEach(vi.clearAllMocks);
|
||||
|
||||
it('renders an error when error is true', () => {
|
||||
setUp({ error: true, saved: false, saving: false });
|
||||
expect(screen.getByText('An error occurred while creating the URL :(')).toBeInTheDocument();
|
||||
|
||||
Reference in New Issue
Block a user