Skip to content

armgit / herdr

Public Imported from GitHub
0

the runtime your coding agents live on

test: isolate integration assets from inherited omp environment (#4351)

akbash3f2a6e743f67
diff --git a/src/integration/assets/herdr-agent-state.test.ts b/src/integration/assets/herdr-agent-state.test.ts
index 19b36d943..e0f0bd571 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";