Tests: narrow apply-patch delete-path assertion

This commit is contained in:
Vincent Koc
2026-03-14 23:20:15 -07:00
parent dec7c38e35
commit 3ae15e0e26

View File

@@ -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");