FN-6067: reset SettingsModal test mocks before each run

Ensure the SettingsModal quality-settings tests start from a fully reset mock state.

- replace `vi.clearAllMocks()` with `vi.resetAllMocks()` in the SettingsModal test `beforeEach`
- preserve existing timer, storage, and plugin UI cache cleanup around each test

Files changed:
 packages/dashboard/app/components/__tests__/SettingsModal.test.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Fusion-Task-Id: FN-6067

Fusion-Task-Lineage: 90250b2f-2572-4cfe-92e2-e9827a2a605c
This commit is contained in:
gsxdsm
2026-06-09 04:05:11 -07:00
parent acd9c669fa
commit f51e29bb29

View File

@@ -518,7 +518,7 @@ describe("SettingsModal", () => {
beforeEach(() => {
vi.useRealTimers();
vi.clearAllMocks();
vi.resetAllMocks();
localStorage.clear();
sessionStorage.clear();
clearPluginUiSlotsCache();