1
0
mirror of https://github.com/seejohnrun/haste-server.git synced 2026-01-27 22:57:11 +00:00

Upgrade testing libraries

- Upgrade mocha
- Remove should due to limited usage and old style (at least by rspec standards)
- Move spec -> test which is the default
- Update tests accordingly for the above
This commit is contained in:
John Crepezzi
2017-10-31 20:02:59 -04:00
parent 072418695e
commit e76c845f16
4 changed files with 168 additions and 144 deletions

View File

@@ -26,8 +26,7 @@
"pg": "4.1.1"
},
"devDependencies": {
"mocha": "*",
"should": "*"
"mocha": "^4.0.1"
},
"bundledDependencies": [],
"engines": {
@@ -47,6 +46,6 @@
},
"scripts": {
"start": "node server.js",
"test": "mocha -r should spec/*"
"test": "mocha"
}
}