26 lines
640 B
Markdown
26 lines
640 B
Markdown
# Testing Runbook
|
|
|
|
## Install
|
|
|
|
```bash
|
|
npm install
|
|
```
|
|
|
|
## Execute Tests
|
|
|
|
```bash
|
|
npm run test:ci
|
|
```
|
|
|
|
## Coverage Scope
|
|
|
|
- `src/api/client.test.ts`: runtime-config precedence and fallback behavior.
|
|
- `src/api/dashboardApi.test.ts`: endpoint path/query composition and payload mapping.
|
|
- `src/auth/oidcLogin.test.ts`: OIDC start-url generation and safe return-url fallback.
|
|
- `src/auth/callbackState.test.ts`: callback query parsing and safe return-path behavior.
|
|
- `src/App.test.tsx`: central login route, callback success redirect, and callback error journey.
|
|
|
|
## Notes
|
|
|
|
- Use containerized Node execution when host `npm` is unavailable.
|