continue[bot]
|
dbabd220e2
|
Add backend unit tests with vitest
- 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>
|
2026-03-31 16:27:27 +00:00 |
|