Skip to content

Commit 3121cf2

Browse files
committed
rewrite all tests in mocha+chai instead of nodeunit
1 parent 98afbe3 commit 3121cf2

14 files changed

+1681
-3546
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,15 @@
1111
"winston": "^3.17.0"
1212
},
1313
"devDependencies": {
14+
"chai": "^4",
1415
"jshint": "2.13.6",
1516
"lolex": "^6.0.0",
16-
"nodeunit": "~0.11.3",
17+
"mocha": "^5",
1718
"q": "^1.5.1"
1819
},
1920
"scripts": {
2021
"pretest": "bash bin/startdbs",
21-
"test": "nodeunit test",
22+
"test": "mocha --exit",
2223
"posttest": "bash bin/stopdbs",
2324
"lint": "jshint lib/**.js test/**.js"
2425
},

0 commit comments

Comments
 (0)