Skip to content

Commit 9ed701a

Browse files
authored
Merge pull request #367 from js-kyle/mocha6
update mocha to remove vulnerability warnings
2 parents a048879 + 4ff2037 commit 9ed701a

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

package.json

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,10 @@
4343
"uglify-js": "2.6.2"
4444
},
4545
"devDependencies": {
46-
"mocha": "2.5.3",
47-
"blanket": "1.2.3",
48-
"expect.js": "0.3.1",
49-
"travis-cov": "0.2.5",
5046
"connect": "3.4.1",
51-
"ejs": "2.4.2"
47+
"ejs": "2.4.2",
48+
"expect.js": "0.3.1",
49+
"mocha": "^6.2.0"
5250
},
5351
"config": {
5452
"travis-cov": {
@@ -59,9 +57,8 @@
5957
}
6058
},
6159
"scripts": {
62-
"test": "npm run test-unit && npm run test-cov",
63-
"test-unit": "./node_modules/.bin/mocha --reporter spec",
64-
"test-cov": "./node_modules/.bin/mocha --require blanket --reporter travis-cov",
60+
"test": "npm run test-unit",
61+
"test-unit": "./node_modules/.bin/mocha --reporter spec --exit",
6562
"test-watch": "./node_modules/.bin/mocha --reporter min --watch",
6663
"test-cov-report": "./node_modules/.bin/mocha --require blanket --reporter html-cov > coverage.html && open coverage.html"
6764
}

0 commit comments

Comments
 (0)