fmt(js): npm run fix on merge (#83139)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
hermes-seaeye[bot]
2026-08-10 10:55:40 +00:00
committed by GitHub
parent 3139a30e52
commit 86d747e00d
2 changed files with 6 additions and 6 deletions
@@ -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 }))
+3 -3
View File
@@ -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