Skip to content

The agent that grows with you

fix(desktop): blank-line padding in the foreground-dial test

teknium1d30c05bebf6c
diff --git a/apps/desktop/src/store/gateway-profile-request.test.ts b/apps/desktop/src/store/gateway-profile-request.test.ts
index 27d1b1c4f2b..5dfc6f11608 100644
--- a/apps/desktop/src/store/gateway-profile-request.test.ts
+++ b/apps/desktop/src/store/gateway-profile-request.test.ts
@@ -113,9 +113,11 @@ describe('requestGatewayForProfile', () => {
it('dials the profile with foreground priority when a Settings-scoped caller asks for it (#111651)', async () => {
setPrimaryGateway(makePrimary() as never, 'default')
+
const getConnection = vi.fn(async (profile: null | string) =>
profile ? { port: 5151, profile, token: 'secondary-token' } : { port: 4242, token: 'primary-token' }
)
+
installDesktop(getConnection)
await ensureGatewayForProfile('default')