mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-04-11 09:06:20 +00:00
Update tests to use vi instead of jest
This commit is contained in:
@@ -12,7 +12,7 @@ describe('<ShortUrlVisitsHeader />', () => {
|
||||
const shortUrlVisits = fromPartial<ShortUrlVisits>({
|
||||
visits: [{}, {}, {}],
|
||||
});
|
||||
const goBack = jest.fn();
|
||||
const goBack = vi.fn();
|
||||
const setUp = (title?: string | null) => {
|
||||
const shortUrlDetail = fromPartial<ShortUrlDetail>({
|
||||
shortUrl: {
|
||||
|
||||
Reference in New Issue
Block a user