perf(test): speed up update-cli unit tests

This commit is contained in:
Peter Steinberger
2026-02-15 13:44:35 +00:00
parent a742d44133
commit e3f4cabf49

View File

@@ -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;
};