- add jest, ts-jest, supertest, and related dev dependencies - add test scripts (test, test:debug, test:watch) to package.json - add jest.config.js with ts-jest transform and module name mappers - add controller specs for auth, browser, environment, mcp, scenario, session - add mocks for jsdom, playwright, and readability - add test/tsconfig.json and exclude test dir from main tsconfig
23 lines
602 B
JSON
23 lines
602 B
JSON
{
|
|
"compilerOptions": {
|
|
"module": "commonjs",
|
|
"declaration": true,
|
|
"removeComments": true,
|
|
"emitDecoratorMetadata": true,
|
|
"experimentalDecorators": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"target": "ES2021",
|
|
"sourceMap": true,
|
|
"rootDir": "./src",
|
|
"outDir": "./dist",
|
|
"skipLibCheck": true,
|
|
"strictNullChecks": false,
|
|
"noImplicitAny": false,
|
|
"strictBindCallApply": false,
|
|
"forceConsistentCasingInFileNames": false,
|
|
"noFallthroughCasesInSwitch": false,
|
|
"resolveJsonModule": true
|
|
},
|
|
"exclude": ["node_modules", "dist", "test"]
|
|
}
|