spiegel-keyman/common/web/gesture-recognizer/src/test/tsconfig.json
Joshua A. Horton f2f1c09c84 chore(web): removes ts-node use from gesture-recognizer
Complication: the promise-status library used for testing our promise usage includes a .d.ts file that is not valid with current TS versions.  We now delete theirs and provide our own, fixed version.
2024-06-10 11:04:04 +07:00

30 lines
954 B
JSON

/*
* VS Code Intellisense needs this helper in order to properly use subpath imports in the
* test specs found under the `headless` subfolder. Otherwise, it'll report errors while
* editing - even if the tests themselves actually work.
*/
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "../../build/test/",
// Not needed when testing via Node, and when `true` it seems to desync preset breakpoints
// worse than when `false`.
"importHelpers": false,
"allowJs": true,
"baseUrl": "../../",
"tsBuildInfoFile": "../../build/test/tsconfig.tsbuildinfo",
"rootDir": "./",
"typeRoots": ["./resources/@types", "../../../../../node_modules/@types"]
},
"include": [
"./auto/headless/**/*.ts",
"./resources/**/*.ts"
],
// Undo the base config's exclude.
"exclude": ["../../../../../node_modules/promise-status-async/lib/index.d.ts"],
"references": [
{"path": "../../"}
]
}