Added unit tests via supertest, mocha

This commit is contained in:
2025-08-18 17:12:23 -04:00
parent c00d631e9f
commit e4384f53a4
5 changed files with 1417 additions and 50 deletions

View File

@@ -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"
}
}