mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-21 18:53:37 +00:00
fix(test): add missing SecurityAPI.getStatus mock to UnifiedAgents test
This commit is contained in:
@@ -36,6 +36,7 @@ vi.mock('@/api/monitoring', () => ({
|
||||
vi.mock('@/api/security', () => ({
|
||||
SecurityAPI: {
|
||||
createToken: (...args: unknown[]) => createTokenMock(...args),
|
||||
getStatus: () => Promise.resolve({ requiresAuth: true, apiTokenConfigured: false }),
|
||||
},
|
||||
}));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user