Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
test(desktop): mark producer auth fixtures as synthetic
Josué3e6d36198c29
diff --git a/desktop-app/src/__tests__/appService.teamTransitionOwnership.test.ts b/desktop-app/src/__tests__/appService.teamTransitionOwnership.test.tsindex 80701fff9..c24339d6c 100644--- a/desktop-app/src/__tests__/appService.teamTransitionOwnership.test.ts+++ b/desktop-app/src/__tests__/appService.teamTransitionOwnership.test.ts@@ -33,7 +33,7 @@ describe('AppService deliberate team transition ownership', () => {suspendDesktopGfsUploadsForAuthBoundary: () => Promise<void>}app.authClient = {- googleLogin: vi.fn().mockResolvedValue({ token: 'session-a', me }),+ googleLogin: vi.fn().mockResolvedValue({ token: 'synthetic-session-a', me }),decideWorkflowApproval: vi.fn(() => {decisionStarted.resolve()return decisionResponse.promise@@ -196,7 +196,7 @@ describe('AppService deliberate team transition ownership', () => {})await healthRequestawait loginStarted.promise- loginResponse.resolve({ token: 'session-a', me })+ loginResponse.resolve({ token: 'synthetic-session-a', me })await expect(login).resolves.toEqual({ authenticated: true, me })})@@ -286,7 +286,7 @@ describe('AppService deliberate team transition ownership', () => {}let currentTeamId = 'team-a'app.authClient = {- googleLogin: vi.fn().mockResolvedValue({ token: 'session-a', me: meA }),+ googleLogin: vi.fn().mockResolvedValue({ token: 'synthetic-session-a', me: meA }),switchTeam: vi.fn(async (_token: string, teamId: string) => {currentTeamId = teamIdreturn { token: `session-${teamId}`, team: { id: teamId, name: teamId, role: 'member' } }@@ -354,7 +354,7 @@ describe('AppService deliberate team transition ownership', () => {}app.authClient = {googleLogin: vi.fn().mockResolvedValue({- token: 'session-a',+ token: 'synthetic-session-a',me: {id: 'user-a',email: '[email protected]',@@ -413,7 +413,7 @@ describe('AppService deliberate team transition ownership', () => {}app.authClient = {googleLogin: vi.fn().mockResolvedValue({- token: 'session-a',+ token: 'synthetic-session-a',me: {id: 'user-a',email: '[email protected]',@@ -470,7 +470,7 @@ describe('AppService deliberate team transition ownership', () => {}app.authClient = {googleLogin: vi.fn().mockResolvedValue({- token: 'session-a',+ token: 'synthetic-session-a',me: {id: 'user-a',email: '[email protected]',diff --git a/desktop-app/ui/src/hooks/__tests__/useAppController.desktopEnvironmentHandoff.test.tsx b/desktop-app/ui/src/hooks/__tests__/useAppController.desktopEnvironmentHandoff.test.tsxindex 97a973abb..e9314a4bb 100644--- a/desktop-app/ui/src/hooks/__tests__/useAppController.desktopEnvironmentHandoff.test.tsx+++ b/desktop-app/ui/src/hooks/__tests__/useAppController.desktopEnvironmentHandoff.test.tsx@@ -34,7 +34,7 @@ describe('useAppController desktop environment handoff', () => {}producer.authClient = {googleLogin: vi.fn().mockResolvedValue({- token: 'session-a',+ token: 'synthetic-session-a',me: {id: 'user-1',email: '[email protected]',