From 3f2a6e743f67bc947cfa06be25df106d00b9ee11 Mon Sep 17 00:00:00 2001 From: akbash Date: Fri, 18 Sep 2026 21:56:24 +0300 Subject: test: isolate integration assets from inherited omp environment (#4351) refs #4346 Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com> Co-authored-by: Can Celik --- src/integration/assets/herdr-agent-state.test.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/integration/assets/herdr-agent-state.test.ts b/src/integration/assets/herdr-agent-state.test.ts index 19b36d94..e0f0bd57 100644 --- a/src/integration/assets/herdr-agent-state.test.ts +++ b/src/integration/assets/herdr-agent-state.test.ts @@ -86,6 +86,8 @@ function createExtensionHarness() { } function configureIntegrationEnvironment(recordingSocketPath: string) { + // Tests may run inside an OMP shell; nested-session cases opt in explicitly. + delete process.env.OMPCODE; process.env.HERDR_ENV = "1"; process.env.HERDR_SOCKET_PATH = recordingSocketPath; process.env.HERDR_PANE_ID = "test:p1"; -- cgit v1.2.3