continue[bot]
|
d316f39699
|
Add server-side unit tests for CommonService
- Set up vitest for server-side testing with coverage reporting
- Add 54 unit tests for CommonService in server/utils/common.ts
- Tests cover: maskPasswords, convertTimeToEpoch, convertTimestampToTime,
sort functions, camelCase, titleCase, removeAuthSecureData,
removeSecureData, getRequestIP, findNode, getMonthDays,
isVersionCompatible, handleError, and runWithConcurrencyLimit
- Add npm scripts: test:server and test:server:coverage
- Achieves 44% statement coverage and 46% branch coverage for common.ts
Generated with [Continue](https://continue.dev)
Co-Authored-By: Continue <noreply@continue.dev>
Co-authored-by: shahana-farooqui <shahana.farooqui@gmail.com>
|
2026-03-30 16:19:51 +00:00 |
|