mirror of
https://github.com/Ride-The-Lightning/RTL.git
synced 2026-08-13 12:33:07 +02:00
- Add vitest testing framework for server-side TypeScript tests - Add comprehensive tests for LoggerService (21 tests) - ERROR, WARN, INFO, DEBUG level logging - File logging with selectedNode settings - Various error message formats - Add comprehensive tests for CommonService (66 tests) - maskPasswords functionality - removeAuthSecureData - Date/time conversions - Array sorting utilities - Version compatibility checking - Error handling for different LN implementations - Concurrency limit runner - Add npm scripts for running server tests: test:server, test:server:coverage - Add vitest.config.ts for test configuration Generated with [Continue](https://continue.dev) Co-Authored-By: Continue <noreply@continue.dev> Co-authored-by: shahana-farooqui <shahana.farooqui@gmail.com>
15 lines
357 B
TypeScript
15 lines
357 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
globals: true,
|
|
environment: 'node',
|
|
include: ['server/**/*.test.ts'],
|
|
coverage: {
|
|
provider: 'v8',
|
|
reporter: ['text', 'text-summary'],
|
|
include: ['server/**/*.ts'],
|
|
exclude: ['server/**/*.test.ts', 'server/models/**']
|
|
}
|
|
}
|
|
});
|