mirror of
https://github.com/openclaw/openclaw.git
synced 2026-02-19 18:39:20 -05:00
perf(test): speed up update-cli unit tests
This commit is contained in:
@@ -144,7 +144,7 @@ describe("update-cli", () => {
|
||||
|
||||
const createCaseDir = async (prefix: string) => {
|
||||
const dir = path.join(fixtureRoot, `${prefix}-${fixtureCount++}`);
|
||||
await fs.mkdir(dir, { recursive: true });
|
||||
// Tests only need a stable path; the directory does not have to exist because all I/O is mocked.
|
||||
return dir;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user