From 5ff886ba943b7f436afe15ca6dc63865631146eb Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Wed, 26 Aug 2026 15:15:35 +0300 Subject: [PATCH] fix tests --- test/unit/specs/stores/users.spec.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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)