mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-03 09:50:21 +00:00
Tests: narrow apply-patch delete-path assertion
This commit is contained in:
@@ -147,7 +147,7 @@ describe("applyPatch", () => {
|
||||
});
|
||||
});
|
||||
|
||||
it("revalidates delete targets before removing files", async () => {
|
||||
it("resolves delete targets before calling fs.rm", async () => {
|
||||
await withTempDir(async (dir) => {
|
||||
const target = path.join(dir, "delete-me.txt");
|
||||
await fs.writeFile(target, "x\n", "utf8");
|
||||
|
||||
Reference in New Issue
Block a user