Merge branch '51-make-a-test-guide-for-backend' into 'main'
A guide for testing was added Closes #51 See merge request !18
No related branches found
No related tags found
This diff is collapsed.
... | @@ -4,7 +4,7 @@ | ... | @@ -4,7 +4,7 @@ |
"description": "", | "description": "", | ||
"main": "index.js", | "main": "index.js", | ||
"scripts": { | "scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1", | "test": "mocha", | ||
"start": "nodemon index.js", | "start": "nodemon index.js", | ||
"format": "prettier --write ." | "format": "prettier --write ." | ||
}, | }, | ||
... | @@ -23,5 +23,10 @@ | ... | @@ -23,5 +23,10 @@ |
"swagger-jsdoc": "^6.2.8", | "swagger-jsdoc": "^6.2.8", | ||
"swagger-ui-express": "^5.0.0", | "swagger-ui-express": "^5.0.0", | ||
"winston": "^3.10.0" | "winston": "^3.10.0" | ||
}, | |||
"devDependencies": { | |||
"chai": "^4.3.10", | |||
"mocha": "^10.2.0", | |||
"sinon": "^16.1.0" | |||
} | } | ||
} | } |
test/questionController.test.js
0 → 100644
Please register or sign in to comment