aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/integration/assets/herdr-agent-state.test.ts2
1 files changed, 2 insertions, 0 deletions
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";