Skip to content

Commit

Permalink
Use node test runner
Browse files Browse the repository at this point in the history
  • Loading branch information
Phillip9587 committed Oct 22, 2024
1 parent 3ea88a3 commit 5aaf5ef
Show file tree
Hide file tree
Showing 2 changed files with 156 additions and 158 deletions.
12 changes: 5 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,14 @@
],
"repository": "jshttp/content-disposition",
"devDependencies": {
"deep-equal": "1.0.1",
"c8": "^10.1.2",
"eslint": "7.32.0",
"eslint-config-standard": "13.0.1",
"eslint-plugin-import": "2.25.3",
"eslint-plugin-markdown": "2.2.1",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "5.2.0",
"eslint-plugin-standard": "4.1.0",
"mocha": "^9.2.2",
"nyc": "15.1.0"
"eslint-plugin-standard": "4.1.0"
},
"files": [
"LICENSE",
Expand All @@ -34,8 +32,8 @@
},
"scripts": {
"lint": "eslint .",
"test": "mocha --reporter spec --bail --check-leaks test/",
"test-ci": "nyc --reporter=lcovonly --reporter=text npm test",
"test-cov": "nyc --reporter=html --reporter=text npm test"
"test": "node --test --test-reporter spec",
"test-ci": "c8 --reporter=lcovonly --reporter=text npm test",
"test-cov": "c8 --reporter=html --reporter=text npm test"
}
}
Loading

0 comments on commit 5aaf5ef

Please sign in to comment.