Skip to content

Commit

Permalink
chore(deps): updated rimraf
Browse files Browse the repository at this point in the history
  • Loading branch information
webdeveric committed Feb 10, 2024
1 parent e17ee79 commit 1f5531a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
"mocha": "^10.3.0",
"nyc": "^15.1.0",
"prettier": "^3.2.5",
"rimraf": "^3.0.2",
"rimraf": "^5.0.5",
"superagent": "^8.1.0",
"typescript": "^5.3.3",
"webpack": "^5.90.1",
Expand Down
4 changes: 2 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 3 additions & 9 deletions test/WebpackAssetsManifest-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const chalk = require('chalk');
const { mkdir } = require('node:fs/promises');
const chai = require('chai');
const spies = require('chai-spies');
const rimraf = require('rimraf');
const { rimraf } = require('rimraf');
const webpack = require('webpack');
const { mkdirp: webpack_mkdirp } = require('webpack/lib/util/fs');
const superagent = require('superagent');
Expand Down Expand Up @@ -70,14 +70,8 @@ describe('WebpackAssetsManifest', function () {
await mkdir(configs.getWorkspace(), { recursive: true, mode: _777 });
});

after('clean up', done => {
rimraf(configs.getWorkspace(), function (err) {
if (err) {
throw err;
}

done();
});
after('clean up', async () => {
await rimraf(configs.getWorkspace());
});

describe('Methods', function () {
Expand Down

0 comments on commit 1f5531a

Please sign in to comment.