fix: add npm run test (#17)

User can now do `npm run test` to run tests.
This commit is contained in:
Seth 2021-03-12 16:41:43 +01:00 committed by GitHub
parent 85eb52fa9b
commit b8dcd60fbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,8 @@
"description": "Metric / Imperial Unit Converter",
"main": "server.js",
"scripts": {
"start": "node server.js"
"start": "node server.js",
"test": "mocha ./tests/ --ui tdd"
},
"dependencies": {
"body-parser": "^1.19.0",