RTL/vitest.config.ts
continue[bot] 0040e01c9d Add backend test infrastructure and CommonService tests
- Add vitest configuration for backend tests
- Add comprehensive test suite for CommonService (57 tests)
- Add npm scripts for running backend tests with coverage
- Tests cover: password masking, secure data handling, sorting functions,
  date/time conversions, error handling, version compatibility, and more

Generated with [Continue](https://continue.dev)

Co-authored-by: shahana-farooqui <shahana.farooqui@gmail.com>
Co-Authored-By: Continue <noreply@continue.dev>
2026-04-06 16:06:50 +00:00

15 lines
349 B
TypeScript

import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
globals: true,
environment: 'node',
include: ['server/**/*.spec.ts'],
coverage: {
provider: 'v8',
reporter: ['text', 'html'],
include: ['server/**/*.ts'],
exclude: ['server/**/*.spec.ts', 'server/models/**']
}
}
});