mirror of
https://github.com/Ride-The-Lightning/RTL.git
synced 2026-08-13 12:33:07 +02:00
- Add vitest and @vitest/coverage-v8 as dev dependencies - Create vitest.config.ts for backend testing configuration - Add comprehensive tests for CommonService in server/utils/common.test.ts - Tests for maskPasswords, removeAuthSecureData, removeSecureData - Tests for convertTimeToEpoch, convertTimestampToTime - Tests for sorting utilities (sortAscByKey, sortDescByKey, etc.) - Tests for string utilities (camelCase, titleCase) - Tests for error handling (handleError) - Tests for node management (findNode, replaceNode) - Tests for version checking (isVersionCompatible) - Tests for getMonthDays and getRequestIP - Tests for runWithConcurrencyLimit - Add npm scripts for backend testing: - test:backend: run backend tests - test:backend:watch: watch mode - test:backend:coverage: with coverage report Generated with [Continue](https://continue.dev) Co-authored-by: shahana-farooqui <shahana.farooqui@gmail.com> Co-Authored-By: Continue <noreply@continue.dev> |
||
|---|---|---|
| .. | ||
| controllers | ||
| models | ||
| routes | ||
| utils | ||
| tsconfig.server.json | ||