mirror of
https://github.com/Ride-The-Lightning/RTL.git
synced 2026-08-13 12:33:07 +02:00
- Add vitest configuration for backend testing
- Add test script commands (test:backend, test:backend:coverage)
- Add 71 unit tests for:
- CommonService: maskPasswords, sorting utilities, version checking,
error handling, node management, and data security functions
- LoggerService: log level handling, file writing, error formatting
- Authenticate controller: getFailedInfo, verifyToken
- Install vitest and @vitest/coverage-v8 as dev dependencies
Coverage improvements:
- common.ts: 38% statement coverage
- logger.ts: 82% statement coverage
- authenticate.ts: 24% statement coverage
Generated with [Continue](https://continue.dev)
Co-Authored-By: Continue <noreply@continue.dev>
Co-authored-by: shahana-farooqui <shahana.farooqui@gmail.com>
|
||
|---|---|---|
| .. | ||
| controllers | ||
| models | ||
| routes | ||
| utils | ||
| tsconfig.server.json | ||