Skip to content

Commit

Permalink
Remove unlink
Browse files Browse the repository at this point in the history
  • Loading branch information
zachleat committed Dec 20, 2024
1 parent ceaf6ba commit a795118
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -553,14 +553,14 @@ test("Keep a cache, don’t reuse with if the image changes, check output", asyn
outputDir: "./test/img/",
});

fs.unlinkSync(outputPathTemp);
// fs.unlinkSync(outputPathTemp);
fs.copyFileSync("./test/modify2-bio-grayscale.jpg", outputPathTemp);

let stats2 = await eleventyImage(outputPathTemp, {
outputDir: "./test/img/",
});

fs.unlinkSync(outputPathTemp);
// fs.unlinkSync(outputPathTemp);

t.notDeepEqual(stats1, stats2);

Expand Down

0 comments on commit a795118

Please sign in to comment.