mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-16 12:47:41 +00:00
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.
30 lines
954 B
JSON
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": "../../"}
|
|
]
|
|
}
|