From 86d747e00d81711d1dbdc25b2dc7deee5769193e Mon Sep 17 00:00:00 2001 From: "hermes-seaeye[bot]" <307254004+hermes-seaeye[bot]@users.noreply.github.com> Date: Mon, 10 Aug 2026 10:55:40 +0000 Subject: [PATCH] fmt(js): `npm run fix` on merge (#83139) Co-authored-by: github-actions[bot] --- apps/desktop/src/store/session-states-eviction.test.ts | 6 +++--- apps/desktop/src/store/session-states.ts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/desktop/src/store/session-states-eviction.test.ts b/apps/desktop/src/store/session-states-eviction.test.ts index 19432e7a69..8958df05ee 100644 --- a/apps/desktop/src/store/session-states-eviction.test.ts +++ b/apps/desktop/src/store/session-states-eviction.test.ts @@ -67,7 +67,7 @@ describe('publish-time eviction', () => { expect($sessionStates.get()['rt-2']).toBeDefined() }) - it('keeps the primary view\'s settled session', () => { + it("keeps the primary view's settled session", () => { $activeSessionId.set('rt-1') publishSessionState('rt-1', state('stored-1', { busy: true })) publishSessionState('rt-1', state('stored-1', { busy: false })) @@ -83,7 +83,7 @@ describe('publish-time eviction', () => { }) describe('closeSessionTile eviction', () => { - it('drops a settled session\'s state on close — no later publish may come', () => { + it("drops a settled session's state on close — no later publish may come", () => { $sessionTiles.set([{ runtimeId: 'rt-1', storedSessionId: 'stored-1' }]) publishSessionState('rt-1', state('stored-1', { busy: false })) @@ -92,7 +92,7 @@ describe('closeSessionTile eviction', () => { expect($sessionStates.get()['rt-1']).toBeUndefined() }) - it('keeps a busy session\'s state on close — the background turn is still running', () => { + it("keeps a busy session's state on close — the background turn is still running", () => { $sessionTiles.set([{ runtimeId: 'rt-1', storedSessionId: 'stored-1' }]) publishSessionState('rt-1', state('stored-1', { busy: true })) diff --git a/apps/desktop/src/store/session-states.ts b/apps/desktop/src/store/session-states.ts index 9e6b33c427..1064b90d7a 100644 --- a/apps/desktop/src/store/session-states.ts +++ b/apps/desktop/src/store/session-states.ts @@ -200,9 +200,9 @@ function runtimeReferenced(runtimeId: string, storedSessionId: null | string): b return true } - return $sessionTiles.get().some( - t => t.runtimeId === runtimeId || (storedSessionId !== null && t.storedSessionId === storedSessionId) - ) + return $sessionTiles + .get() + .some(t => t.runtimeId === runtimeId || (storedSessionId !== null && t.storedSessionId === storedSessionId)) } /** A state no surface needs anymore: its turn is over (not busy, not waiting