- Replace Jest with Bun's native testing framework - Update test configuration and utilities to support Bun test environment - Add mock implementations for SSE and security testing - Refactor test setup to use Bun's testing utilities - Update package dependencies and scripts to align with Bun testing - Enhance type definitions for Bun test mocking
47 lines
844 B
JSON
47 lines
844 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"module": "ESNext",
|
|
"moduleResolution": "node",
|
|
"outDir": "./dist",
|
|
"rootDir": ".",
|
|
"strict": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"resolveJsonModule": true,
|
|
"declaration": true,
|
|
"sourceMap": true,
|
|
"allowJs": true,
|
|
"experimentalDecorators": true,
|
|
"emitDecoratorMetadata": true,
|
|
"types": [
|
|
"node",
|
|
"jest"
|
|
],
|
|
"typeRoots": [
|
|
"./node_modules/@types"
|
|
],
|
|
"lib": [
|
|
"ES2022"
|
|
],
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@src/*": [
|
|
"src/*"
|
|
],
|
|
"@tests/*": [
|
|
"__tests__/*"
|
|
]
|
|
}
|
|
},
|
|
"include": [
|
|
"src/**/*",
|
|
"jest.config.ts"
|
|
],
|
|
"exclude": [
|
|
"node_modules",
|
|
"dist",
|
|
"coverage"
|
|
]
|
|
} |