Skip to content

Commit 516a97f

Browse files
committed
fix(assets): fs.rm doesn't exist in Node 10/12
1 parent 61baef2 commit 516a97f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/plugin-assets/tests/init.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ describe('init', () => {
3434
await fs.mkdir(path.dirname(configPath), { recursive: true });
3535
});
3636
afterEach(async () => {
37-
await fs.rm(configPath, { force: true });
37+
await fs.unlink(configPath, { force: true });
3838
});
3939

4040
describe('with nothing in the config', () => {

0 commit comments

Comments
 (0)