Implemented very basic (and poorly written) unit tests that test using the live database

This commit is contained in:
Gregory Campbell
2021-11-25 10:48:28 -05:00
parent 98308642aa
commit 4af4f90a72
4 changed files with 7767 additions and 4 deletions
+6 -2
View File
@@ -5,7 +5,7 @@
"main": "server.js",
"scripts": {
"start": "node server.js",
"test": "echo \"Error: no test specified\" && exit 1"
"test": "mocha --exit"
},
"repository": {
"type": "git",
@@ -36,6 +36,10 @@
"optionator": "^0.9.1"
},
"devDependencies": {
"eslint": "^8.3.0"
"eslint": "^8.3.0",
"jest": "^27.3.1",
"mocha": "^9.1.3",
"superagent": "^6.1.0",
"supertest": "^6.1.6"
}
}