diff --git a/apps/desktop/electron/primary-profile-pin.test.ts b/apps/desktop/electron/primary-profile-pin.test.ts index 1ea65305f2..f4595bd6dc 100644 --- a/apps/desktop/electron/primary-profile-pin.test.ts +++ b/apps/desktop/electron/primary-profile-pin.test.ts @@ -4,14 +4,6 @@ import { test } from 'vitest' import { PrimaryProfilePin } from './primary-profile-pin' -test('with no live primary, the stored preference (or default) wins', () => { - const pin = new PrimaryProfilePin() - - assert.equal(pin.resolve(() => null), 'default') - assert.equal(pin.resolve(() => ' '), 'default') - assert.equal(pin.resolve(() => 'claude'), 'claude') -}) - test('a live primary keeps answering for its booted profile after the preference moves', () => { const pin = new PrimaryProfilePin() let preference: null | string = 'default' @@ -37,11 +29,3 @@ test('teardown releases the pin so the next start follows the preference', () => assert.equal(pin.booted, null) assert.equal(pin.resolve(() => 'claude'), 'claude') }) - -test('pinning normalises blank input to default', () => { - const pin = new PrimaryProfilePin() - - assert.equal(pin.pin(''), 'default') - assert.equal(pin.pin(undefined), 'default') - assert.equal(pin.pin(' grok '), 'grok') -}) diff --git a/apps/desktop/src/app/contrib/wiring-routing.test.ts b/apps/desktop/src/app/contrib/wiring-routing.test.ts index 2f5a8472d8..cb981d40d0 100644 --- a/apps/desktop/src/app/contrib/wiring-routing.test.ts +++ b/apps/desktop/src/app/contrib/wiring-routing.test.ts @@ -1,15 +1,6 @@ import { describe, expect, it } from 'vitest' -import { - findStoredIdForRuntimeId, - POOL_LIMITS_SETTINGS_ROUTE, - resolveRoutingSessionId, - resolveSessionRpcOwner -} from './wiring-routing' - -it('targets the Advanced settings surface for pool-cap recovery', () => { - expect(POOL_LIMITS_SETTINGS_ROUTE).toBe('/settings?tab=config:advanced') -}) +import { findStoredIdForRuntimeId, resolveRoutingSessionId, resolveSessionRpcOwner } from './wiring-routing' describe('findStoredIdForRuntimeId', () => { it('reverse-resolves a runtime id to its stored id', () => {