|
Some checks are pending
Docker Test / test (push) Waiting to run
This commit adds comprehensive unit tests for the role-based access control middleware and fixes the ES module export issue. The tests verify that users with correct roles can access protected routes, while users with incorrect roles or no authentication are properly denied access. |
||
|---|---|---|
| .. | ||
| auth.spec.js | ||
| contacts.spec.js | ||
| integration-test.spec.js | ||
| roles.test.js | ||