diff --git a/test/unit/specs/stores/users.spec.js b/test/unit/specs/stores/users.spec.js index 7e196565d..285359c62 100644 --- a/test/unit/specs/stores/users.spec.js +++ b/test/unit/specs/stores/users.spec.js @@ -1124,6 +1124,12 @@ describe('Users store', () => { }, ) + vi.spyOn(useNotificationsStore(), 'wipeStatuses').mockImplementation( + async () => { + /* no-op */ + }, + ) + const store = useUsersStore() const { storeAction, apiUrl } = actionKeys(action) await store[storeAction](userId) @@ -1155,6 +1161,12 @@ describe('Users store', () => { }, ) + vi.spyOn(useNotificationsStore(), 'wipeStatuses').mockImplementation( + async () => { + /* no-op */ + }, + ) + const store = useUsersStore() const { storeAction, apiUrl } = actionKeys(action) await store[storeAction](userId, 20)