mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-04 20:20:21 +00:00
perf(test): trim fixture and serialization overhead in integration suites
This commit is contained in:
@@ -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(() => {
|
||||
|
||||
Reference in New Issue
Block a user