Skip to content

Commit d8b08c9

Browse files
author
ronan-dandelion-cult
committed
test: reset gateway session harness state
1 parent 9c66907 commit d8b08c9

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/gateway/test/server-sessions.test-helpers.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,10 @@ export function setupGatewaySessionsTestHarness() {
282282
const { clearConfigCache, clearRuntimeConfigSnapshot } = await getGatewayConfigModule();
283283
clearRuntimeConfigSnapshot();
284284
clearConfigCache();
285+
testState.agentConfig = undefined;
286+
testState.agentsConfig = undefined;
287+
testState.sessionConfig = undefined;
288+
testState.sessionStorePath = undefined;
285289
sessionCleanupMocks.clearSessionQueues.mockClear();
286290
sessionCleanupMocks.stopSubagentsForRequester.mockClear();
287291
bootstrapCacheMocks.clearBootstrapSnapshot.mockReset();

0 commit comments

Comments
 (0)