RTL/server
continue[bot] d723bad591 Add backend test coverage for CommonService utilities
- 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>
2026-03-03 17:09:36 +00:00
..
controllers Fix Missing Memo in LND Invoices Table 2026-02-09 18:13:13 -08:00
models Release 0.15.4 (#1472) 2024-11-18 20:27:51 -08:00
routes Update project code according to dependencies update 2026-02-01 09:06:07 -08:00
utils Add backend test coverage for CommonService utilities 2026-03-03 17:09:36 +00:00
tsconfig.server.json Update project code according to dependencies update 2026-02-01 09:06:07 -08:00