mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-29 10:50:58 +00:00
test: make media symlink fixture idempotent
This commit is contained in:
@@ -194,6 +194,7 @@ describe("media store", () => {
|
||||
const target = path.join(home, "sensitive.txt");
|
||||
const source = path.join(home, "source.txt");
|
||||
await fs.writeFile(target, "sensitive");
|
||||
await fs.rm(source, { force: true });
|
||||
await fs.symlink(target, source);
|
||||
return source;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user