Write Tests for Auth Service JWT Generation + Validation
Context
The Auth Service RPC exposes JWT create + validate methods. Create is used in the api gateway and validate is used across services to validate tokens before accessing services. These endpoints need to be testes
Requirements & Criteria
[ ] Tests are written within auth-service/tests/app.e2e-spec.ts
Write Tests for Auth Service JWT Generation + Validation
Context
The Auth Service RPC exposes JWT create + validate methods. Create is used in the api gateway and validate is used across services to validate tokens before accessing services. These endpoints need to be testes
Requirements & Criteria
auth-service/tests/app.e2e-spec.ts
createJWT
,validateJWT
)NOTE: The full test-suite for any package can be run in the root directory of the project by running
yarn test:e2e:[service-name]