mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-08-01 16:41:53 +00:00
Fix incorrect types between testing library and vitest
This commit is contained in:
@@ -22,8 +22,6 @@ describe('nonOrphanVisitsReducer', () => {
|
||||
const getNonOrphanVisits = getNonOrphanVisitsCreator(buildShlinkApiClient);
|
||||
const { reducer, cancelGetVisits: cancelGetNonOrphanVisits } = nonOrphanVisitsReducerCreator(getNonOrphanVisits);
|
||||
|
||||
beforeEach(vi.clearAllMocks);
|
||||
|
||||
describe('reducer', () => {
|
||||
const buildState = (data: Partial<VisitsInfo>) => fromPartial<VisitsInfo>(data);
|
||||
|
||||
@@ -124,8 +122,6 @@ describe('nonOrphanVisitsReducer', () => {
|
||||
orphanVisits: { cancelLoad: false },
|
||||
});
|
||||
|
||||
beforeEach(vi.resetAllMocks);
|
||||
|
||||
it.each([
|
||||
[undefined],
|
||||
[{}],
|
||||
|
||||
Reference in New Issue
Block a user