Move tsconfig.test.json to test directory

WebStorm does not support typescript.*.json files,
but always uses the nearest tsconfig.json.
Moving the test-specific tsconfig into the test folder allows WebStorm
to use the correct config for the E2E-tests and
stops it from showing unnecessary errors.

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2021-10-14 19:55:55 +02:00
parent 454f9ee207
commit 441e7402a8
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3
4 changed files with 3 additions and 3 deletions

View file

@ -16,7 +16,7 @@
"testTimeout": 10000, "testTimeout": 10000,
"globals": { "globals": {
"ts-jest": { "ts-jest": {
"tsconfig": "tsconfig.test.json" "tsconfig": "test/tsconfig.json"
} }
} }
} }

View file

@ -108,7 +108,7 @@
"testEnvironment": "node", "testEnvironment": "node",
"globals": { "globals": {
"ts-jest": { "ts-jest": {
"tsconfig": "tsconfig.test.json" "tsconfig": "test/tsconfig.json"
} }
} }
} }

View file

@ -1,5 +1,5 @@
{ {
"extends": "./tsconfig.json", "extends": "../tsconfig.json",
"compilerOptions": { "compilerOptions": {
"strict": false "strict": false
} }