Skip to content

Commit 9bac058

Browse files
committed
fs.rmSync -> fs.unlinkSync
1 parent aaf8f60 commit 9bac058

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/supports.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,14 @@ describe('should support for each CSS in JS package with .babelrc', () => {
7878
beforeAll(() => {
7979
fs.writeFileSync(
8080
'.babelrc',
81-
`{
81+
`{
8282
"plugins": [["@babel/plugin-proposal-decorators", { "legacy": true }]]
8383
}`,
8484
);
8585
});
8686

8787
afterAll(() => {
88-
fs.rmSync('.babelrc');
88+
fs.unlinkSync('.babelrc');
8989
});
9090

9191
[

0 commit comments

Comments
 (0)