Added unit tests via supertest, mocha
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
"scripts": {
|
||||
"start": "node index.js",
|
||||
"dev": "nodemon ./index.js",
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"test": "mocha",
|
||||
"grunt": "grunt"
|
||||
},
|
||||
"repository": {
|
||||
@@ -28,13 +28,16 @@
|
||||
"twig": "^1.17.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"chai": "^5.3.1",
|
||||
"grunt": "^1.6.1",
|
||||
"grunt-cli": "^1.5.0",
|
||||
"grunt-contrib-copy": "^1.0.0",
|
||||
"grunt-contrib-sass": "^2.0.0",
|
||||
"grunt-contrib-uglify": "^5.2.2",
|
||||
"grunt-contrib-watch": "^1.1.0",
|
||||
"mocha": "^11.7.1",
|
||||
"nodemon": "^3.1.10",
|
||||
"sass": "^1.89.2"
|
||||
"sass": "^1.89.2",
|
||||
"supertest": "^7.1.4"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user