Add unit tests for role middleware
Some checks are pending
Docker Test / test (push) Waiting to run

This commit is contained in:
BibaBot 2026-03-17 07:07:36 +00:00
parent 7a9bf3199a
commit c294e2e9ae
5702 changed files with 465039 additions and 34 deletions

View file

@ -5,7 +5,7 @@
"description": "",
"main": "index.js",
"scripts": {
"test": "npm run test:smoke",
"test": "jest",
"start": "node src/server.js",
"dev": "node --watch src/server.js",
"db:init": "node src/db/init.js",
@ -31,7 +31,12 @@
"zod": "^4.3.6"
},
"devDependencies": {
"@babel/core": "^7.29.0",
"@babel/preset-env": "^7.29.2",
"@playwright/test": "^1.58.2",
"playwright": "^1.58.2"
"babel-jest": "^30.3.0",
"jest": "^29.5.0",
"playwright": "^1.58.2",
"supertest": "^6.3.3"
}
}