fix: explicit reset in mainSessionID test for parallel test safety

This commit is contained in:
justsisyphus
2026-01-28 14:40:15 +09:00
parent 5dc8d577a4
commit fbb4d46945

View File

@@ -95,7 +95,8 @@ describe("claude-code-session-state", () => {
})
test("should return undefined when not set", () => {
// #given - state reset by beforeEach
// #given - explicit reset to ensure clean state (parallel test isolation)
_resetForTesting()
// #then
expect(getMainSessionID()).toBeUndefined()
})