Use vitest/browser user events instead of testing library ones

This commit is contained in:
Alejandro Celaya
2026-08-14 10:12:43 +02:00
parent baa324dc6f
commit 7c0b9101ec
6 changed files with 4 additions and 25 deletions

View File

@@ -1,10 +1,10 @@
import type { ShlinkApiClient } from '@shlinkio/shlink-js-sdk';
import type { RenderOptions } from '@testing-library/react';
import { render } from '@testing-library/react';
import userEvent from '@testing-library/user-event';
import { fromPartial } from '@total-typescript/shoehorn';
import type { PropsWithChildren, ReactElement } from 'react';
import { Provider } from 'react-redux';
import { userEvent } from 'vitest/browser';
import { ContainerProvider } from '../../src/container/context';
import type { RootState } from '../../src/store';
import { setUpStore } from '../../src/store';