aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorakbash <akbash@herdr.dev>2026-09-18 21:56:24 +0300
committerGitHub <noreply@github.com>2026-09-18 21:56:24 +0300
commit3f2a6e743f67bc947cfa06be25df106d00b9ee11 (patch)
treec01b52c721682a634a94ea8cd4681695670d803a
parent028780cebccc135d67a9ff97fbb0b11a150608de (diff)
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 <ogulcancelik@gmail.com>
-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";