Skip to content

Commit

Permalink
test: fix fs.rmdir deprecation warning (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
erickzhao authored Jul 2, 2024
1 parent c900733 commit f18730e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ describe('electron-installer-dmg', () => {

afterEach(async () => existsSync(fixtureDMGPath) ? fs.unlink(fixtureDMGPath) : null);

after(async () => fs.rmdir(appPath, { recursive: true }));
after(async () => fs.rm(appPath, { recursive: true }));
});
});

0 comments on commit f18730e

Please sign in to comment.