test: preserve opencode semantic live artifacts
This commit is contained in:
parent
dbec466c14
commit
ad331b131f
1 changed files with 5 additions and 1 deletions
|
|
@ -39,7 +39,11 @@ liveDescribe('OpenCode semantic messaging live e2e', () => {
|
||||||
|
|
||||||
afterEach(async () => {
|
afterEach(async () => {
|
||||||
setClaudeBasePathOverride(null);
|
setClaudeBasePathOverride(null);
|
||||||
await fs.rm(tempDir, { recursive: true, force: true });
|
if (process.env.OPENCODE_E2E_KEEP_TEMP === '1') {
|
||||||
|
console.info(`[OpenCodeSemanticMessaging.live] preserved temp dir: ${tempDir}`);
|
||||||
|
} else {
|
||||||
|
await fs.rm(tempDir, { recursive: true, force: true });
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
it(
|
it(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue