Skip to content

Commit

Permalink
fix: rm unused dev deps
Browse files Browse the repository at this point in the history
  • Loading branch information
aladdin-add committed Feb 28, 2024
1 parent 1199d6e commit 222e432
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,8 @@
"eslint-config-eslint": "^9.0.0",
"eslint-release": "^3.2.0",
"esmock": "^2.5.8",
"espree": "^9.0.0",
"globals": "^13.21.0",
"lint-staged": "^12.1.2",
"memfs": "^3.4.0",
"mocha": "^9.1.3",
"shelljs": "^0.8.4",
"sinon": "^12.0.1",
"vitest": "^1.1.1",
Expand Down
4 changes: 2 additions & 2 deletions tests/utils/npm-utils.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ describe("npmUtils", () => {
});

describe("checkDevDeps()", () => {
let installStatus = checkDevDeps(["debug", "mocha", "notarealpackage", "jshint"]);
let installStatus = checkDevDeps(["debug", "eslint", "notarealpackage", "jshint"]);

it("should not find a direct dependency of the project", () => {
assert.isFalse(installStatus.debug);
});

it("should find a dev dependency of the project", () => {
assert.isTrue(installStatus.mocha);
assert.isTrue(installStatus.eslint);
});

it("should not find non-dependencies", () => {
Expand Down

0 comments on commit 222e432

Please sign in to comment.