perf(test): trim fixture and serialization overhead in integration suites

This commit is contained in:
Peter Steinberger
2026-03-03 01:08:52 +00:00
parent 588fbd5b68
commit d7bafae387
5 changed files with 70 additions and 114 deletions

View File

@@ -24,9 +24,7 @@ describe("slack prepareSlackMessage inbound contract", () => {
if (!fixtureRoot) {
throw new Error("fixtureRoot missing");
}
const dir = path.join(fixtureRoot, `case-${caseId++}`);
fs.mkdirSync(dir);
return { dir, storePath: path.join(dir, "sessions.json") };
return { storePath: path.join(fixtureRoot, `case-${caseId++}.sessions.json`) };
}
beforeAll(() => {