mirror of
https://github.com/cpvalente/ontime.git
synced 2026-07-26 10:38:55 +00:00
tooling: lax typechecking in tests
This commit is contained in:
committed by
Carlos Valente
parent
6beda1575a
commit
242cefd35c
@@ -8,14 +8,19 @@
|
||||
"removeComments": true,
|
||||
"preserveConstEnums": true,
|
||||
"allowJs": true,
|
||||
"baseUrl": "src",
|
||||
"types": ["vitest/globals"]
|
||||
"baseUrl": "src"
|
||||
},
|
||||
"include": [
|
||||
"src",
|
||||
"../node_modules/.pnpm/vitest@0.26.3/node_modules/vitest/globals.d.ts"
|
||||
"src"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"src/**/*.test.ts",
|
||||
"src/**/*.spec.ts",
|
||||
],
|
||||
"references": [
|
||||
{
|
||||
"path": "./tsconfig.tests.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"extends": "../../tsconfig.tests.json",
|
||||
"compilerOptions": {
|
||||
"target": "esnext",
|
||||
"module": "esnext",
|
||||
"moduleResolution": "node",
|
||||
"allowUnusedLabels": false,
|
||||
"removeComments": true,
|
||||
"preserveConstEnums": true,
|
||||
"allowJs": true,
|
||||
"baseUrl": "src",
|
||||
"types": ["vitest/globals"],
|
||||
"composite": true
|
||||
},
|
||||
"include": [
|
||||
"src/**/*.test.ts",
|
||||
"src/**/*.spec.ts",
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user