mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-16 04:43:35 +00:00
tooling: lax typechecking in tests
This commit is contained in:
committed by
Carlos Valente
parent
6beda1575a
commit
242cefd35c
@@ -9,8 +9,7 @@
|
||||
],
|
||||
"types": [
|
||||
"vite/client",
|
||||
"vite-plugin-svgr/client",
|
||||
"vitest/globals"
|
||||
"vite-plugin-svgr/client"
|
||||
],
|
||||
"module": "esnext",
|
||||
"moduleResolution": "node",
|
||||
@@ -31,5 +30,14 @@
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"build",
|
||||
"src/**/*.test.ts",
|
||||
"src/**/*.test.tsx",
|
||||
"src/**/*.spec.ts",
|
||||
"src/**/*.spec.tsx",
|
||||
],
|
||||
"references": [
|
||||
{
|
||||
"path": "./tsconfig.tests.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"extends": "../../tsconfig.tests.json",
|
||||
"compilerOptions": {
|
||||
"target": "esnext",
|
||||
"lib": [
|
||||
"dom",
|
||||
"dom.iterable",
|
||||
"esnext"
|
||||
],
|
||||
"types": [
|
||||
"vite/client",
|
||||
"vite-plugin-svgr/client",
|
||||
"vitest/globals"
|
||||
],
|
||||
"module": "esnext",
|
||||
"moduleResolution": "node",
|
||||
"allowUnusedLabels": false,
|
||||
"removeComments": true,
|
||||
"preserveConstEnums": true,
|
||||
"allowJs": true,
|
||||
"baseUrl": "src",
|
||||
"jsx": "react-jsx",
|
||||
"outDir": "build",
|
||||
"composite": true
|
||||
},
|
||||
"include": [
|
||||
"src/**/*.test.ts",
|
||||
"src/**/*.test.tsx",
|
||||
"src/**/*.spec.ts",
|
||||
"src/**/*.spec.tsx",
|
||||
],
|
||||
"typeRoots": [
|
||||
"./src/declarations/**"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user