Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
test(desktop-app): mark auth fixtures as synthetic
Josué9ce6a661d534
diff --git a/desktop-app/src/__tests__/appService.bootstrap.test.ts b/desktop-app/src/__tests__/appService.bootstrap.test.tsindex 33d6a2631..a3731a2d8 100644--- a/desktop-app/src/__tests__/appService.bootstrap.test.ts+++ b/desktop-app/src/__tests__/appService.bootstrap.test.ts@@ -401,9 +401,9 @@ describe('AppService invitation configuration lookup', () => {role: 'member',}const getMe = vi.fn().mockResolvedValue(me)- const getSessionToken = vi.fn().mockResolvedValue('saved-token')+ const getSessionToken = vi.fn().mockResolvedValue('test-token')service.authClient = {- passwordLogin: vi.fn().mockResolvedValue({ token: 'saved-token', me }),+ passwordLogin: vi.fn().mockResolvedValue({ token: 'test-token', me }),getMe,} as neverservice.tokenStore = {@@ -414,7 +414,7 @@ describe('AppService invitation configuration lookup', () => {service.rpcTokenManager = { clear: vi.fn() } as neverservice.updateDesktopGfsUploadState = vi.fn().mockResolvedValue(undefined)- await service.passwordLogin('[email protected]', 'password123')+ await service.passwordLogin('[email protected]', 'fake-password')expect(service.getCachedUserId()).toBe('user-1')await expect(service.logout()).rejects.toThrow(/keychain unavailable/)