mirror of
https://github.com/Ride-The-Lightning/RTL.git
synced 2026-08-13 12:33:07 +02:00
- 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> |
||
|---|---|---|
| .. | ||
| app.ts | ||
| authCheck.ts | ||
| common.spec.ts | ||
| common.ts | ||
| config.ts | ||
| cors.ts | ||
| csrf.ts | ||
| database.ts | ||
| logger.ts | ||
| webSocketServer.ts | ||