mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-04-11 17:16:20 +00:00
Update tests to use vi instead of jest
This commit is contained in:
@@ -6,7 +6,7 @@ import { VisitsHeader } from '../../src/visits/VisitsHeader';
|
||||
describe('<VisitsHeader />', () => {
|
||||
const visits: Visit[] = [fromPartial({}), fromPartial({}), fromPartial({})];
|
||||
const title = 'My header title';
|
||||
const goBack = jest.fn();
|
||||
const goBack = vi.fn();
|
||||
const setUp = () => render(<VisitsHeader visits={visits} goBack={goBack} title={title} />);
|
||||
|
||||
it('shows the amount of visits', () => {
|
||||
|
||||
Reference in New Issue
Block a user