- Expanded TokenManager test suite with advanced token encryption and decryption scenarios - Added detailed rate limiting tests with IP-based tracking and window-based expiration - Improved test coverage for token validation, tampering detection, and error handling - Implemented mock configurations for faster test execution - Enhanced security test scenarios with unique IP addresses and edge case handling
52 lines
1003 B
JSON
52 lines
1003 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "esnext",
|
|
"module": "esnext",
|
|
"lib": [
|
|
"esnext",
|
|
"dom"
|
|
],
|
|
"strict": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"noEmit": true,
|
|
"jsx": "react-jsx",
|
|
"types": [
|
|
"bun-types",
|
|
"@types/node",
|
|
"@types/ws",
|
|
"@types/jsonwebtoken",
|
|
"@types/sanitize-html",
|
|
"@types/jest"
|
|
],
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@/*": [
|
|
"./src/*"
|
|
],
|
|
"@test/*": [
|
|
"__tests__/*"
|
|
]
|
|
},
|
|
"experimentalDecorators": true,
|
|
"emitDecoratorMetadata": true,
|
|
"sourceMap": true,
|
|
"declaration": true,
|
|
"declarationMap": true
|
|
},
|
|
"include": [
|
|
"src/**/*",
|
|
"__tests__/**/*",
|
|
"*.d.ts"
|
|
],
|
|
"exclude": [
|
|
"node_modules",
|
|
"dist",
|
|
"coverage"
|
|
]
|
|
} |