Files
element-web/apps/web/tsconfig.json
T
Michael Telatynski 45234b9c94 Migrate more jest tests to vitest (#33898)
* Migrate more jest tests to vitest

* Fix jest config

* Fix jest config

* Make remaining jest tests type-happy
2026-06-19 15:34:18 +00:00

37 lines
1.1 KiB
JSON

{
"compilerOptions": {
"allowImportingTsExtensions": true,
"experimentalDecorators": false,
"emitDecoratorMetadata": false,
"resolveJsonModule": true,
"esModuleInterop": true,
"useDefineForClassFields": true,
"module": "preserve",
"moduleResolution": "bundler",
"target": "es2022",
"noUnusedLocals": true,
"sourceMap": false,
"outDir": "./lib",
"declaration": true,
"jsx": "react",
"lib": ["es2022", "es2024.promise", "dom", "dom.iterable"],
"strict": true,
"types": ["node", "modernizr"],
"paths": {
"jest-matrix-react": ["./test/test-utils/jest-matrix-react"],
"test-utils-rtl": ["./test/test-utils/jest-matrix-react"],
"jest-mock-vitest-adapter": ["./test/setup/adapter.ts"]
}
},
"include": [
"./node_modules/matrix-js-sdk/src/@types/*.d.ts",
"./src/**/*.ts",
"./src/**/*.tsx",
"./test/**/*.ts",
"./test/**/*.tsx",
"./scripts/*.ts",
"./@types/*.d.ts",
"./webpack.config.ts"
]
}