Stop pane migration fixture hooks before closing stores (#26131)

This commit is contained in:
Neil
2026-10-07 01:49:35 -07:00
committed by GitHub
parent 25e0a29701
commit 6fd09185d1
@@ -11,6 +11,7 @@ import { join } from 'node:path'
import { tmpdir } from 'node:os'
import type { PersistedState } from '../shared/persisted-state-types'
import { isTerminalLeafId, makePaneKey } from '../shared/stable-pane-id'
import { agentHookServer } from './agent-hooks/server'
import {
TEST_LEAF_1,
@@ -67,6 +68,7 @@ describe('Store', () => {
})
afterEach(async () => {
agentHookServer.stop()
await closeTestStores()
rmSync(testState.dir, { recursive: true, force: true })
})