Skip to content

Commit f18730e

Browse files
authored
test: fix fs.rmdir deprecation warning (#212)
1 parent c900733 commit f18730e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@ describe('electron-installer-dmg', () => {
4141

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

44-
after(async () => fs.rmdir(appPath, { recursive: true }));
44+
after(async () => fs.rm(appPath, { recursive: true }));
4545
});
4646
});

0 commit comments

Comments
 (0)