Skip to content

Commit

Permalink
Use remove instead of rm
Browse files Browse the repository at this point in the history
  • Loading branch information
lewissteele committed Sep 16, 2024
1 parent 341e555 commit 88e0be0
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions test/setup.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
const fs = require("fs-extra");

afterAll(() => {
if (!fs.existsSync(global.config.configDir)) {
return;
}

fs.rmSync(global.config.configDir, { recursive: true });
});
afterAll(() => fs.remove("config"));

0 comments on commit 88e0be0

Please sign in to comment.