Commit 2050e32
committed
feat(tests): add unit tests for authHook and requireAuthHook
- Introduced unit tests for authHook to cover various scenarios including database configuration, session handling, and error cases.
- Added tests for requireAuthHook to ensure proper authentication checks.
- Updated package.json to include a new unit test script for the backend.
- Configured Vitest for unit testing in the backend service.1 parent 4aeda23 commit 2050e32
File tree
5 files changed
+1893
-81
lines changed- services/backend
- tests/unit/hooks
5 files changed
+1893
-81
lines changed
0 commit comments