add: unit and integration testing

This commit is contained in:
odweta
2026-09-07 18:09:36 +02:00
parent 76fde42334
commit 52a25aeaf5
7230 changed files with 561560 additions and 135112 deletions
+7 -5
View File
@@ -3,14 +3,16 @@
"version": "1.0.0",
"description": "a simple webform for downloading google search results",
"type": "commonjs",
"main": "src/app.js",
"main": "src/server.js",
"scripts": {
"test": "echo \"testing not implemented yet\"",
"serve": "node src/app.js"
"test": "jest --runInBand",
"test:watch": "jest --watch",
"serve": "node src/server.js"
},
"dependencies": {
"cheerio": "^1.2.0",
"express": "^5.2.1",
"node-fetch": "^3.3.2"
"jest": "^30.5.1",
"node-fetch": "^3.3.2",
"supertest": "^7.2.2"
}
}