Implemented very basic (and poorly written) unit tests that test using the live database
This commit is contained in:
+6
-2
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user