mirror of
https://github.com/Ride-The-Lightning/RTL.git
synced 2026-08-13 12:33:07 +02:00
- Add Jest configuration for server-side TypeScript tests - Add tests for extractKeysendMessage function in LND invoices controller - Tests cover keysend message extraction from htlc custom_records - Tests verify the PR fix for returning memo when no keysend message exists - Add tests for CommonService utility functions - maskPasswords: password field masking - convertTimeToEpoch/convertTimestampToTime: time conversion - sortAscByKey/sortDescByKey: array sorting utilities - titleCase/camelCase: string formatting - isVersionCompatible: version comparison - getRequestIP: IP extraction from request - getMonthDays: calendar utilities - Add npm scripts: test:server and test:server:coverage Generated with [Continue](https://continue.dev) Co-Authored-By: Continue <noreply@continue.dev> Co-authored-by: shahana-farooqui <shahana.farooqui@gmail.com>
17 lines
416 B
JSON
17 lines
416 B
JSON
{
|
|
"extends": "../tsconfig.json",
|
|
"compilerOptions": {
|
|
"baseUrl": "../",
|
|
"outDir": "../backend",
|
|
"module": "Node16",
|
|
"moduleResolution": "Node16",
|
|
"target": "ES2022",
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"noEmit": true,
|
|
"allowImportingTsExtensions": false,
|
|
"isolatedModules": true,
|
|
"types": ["node", "jest"]
|
|
},
|
|
"include": ["./**/*"]
|
|
}
|