fix: explicit reset in mainSessionID test for parallel test safety
This commit is contained in:
@@ -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()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user