mirror of
https://github.com/suitenumerique/docs.git
synced 2026-09-25 19:15:14 +02:00
We use vitest in most of our applications, to ensure consistency and maintainability across our codebase we are now using vitest for yhub-server as well. We added more tests on yhub-server. The tests cover migration, permissions, and server functionality. We also added a helper file for test utilities.
26 lines
564 B
JSON
26 lines
564 B
JSON
{
|
|
"name": "yhub-server",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"start": "node server.js",
|
|
"dev": "nodemon --delay 1 server.js",
|
|
"init-db": "node node_modules/@y/hub/bin/init-db.js",
|
|
"test": "node --test __tests__/permissions.test.js && vitest run",
|
|
"test:watch": "vitest"
|
|
},
|
|
"dependencies": {
|
|
"@aws-sdk/client-s3": "3.1110.0",
|
|
"@y/hub": "0.9.0",
|
|
"@y/y": "14.0.0-rc.24",
|
|
"jose": "6.2.8"
|
|
},
|
|
"devDependencies": {
|
|
"nodemon": "3.1.14",
|
|
"vitest": "3.2.7"
|
|
},
|
|
"engines": {
|
|
"node": ">=22"
|
|
}
|
|
}
|