Skip to content

Commit

Permalink
refactor(test): replace deprecated rmdir with rm
Browse files Browse the repository at this point in the history
  • Loading branch information
bostrom committed Sep 30, 2024
1 parent c328a6f commit cf8ad91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/fileWriter.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ describe('fileWriter extension', () => {
const images = glob.sync(filePath);
expect(images.length).toBe(1);

await fs.promises.rmdir(baseDir, {
await fs.promises.rm(baseDir, {
recursive: true,
// force: true,
});
Expand Down

0 comments on commit cf8ad91

Please sign in to comment.