From ade58e3ca1b7c0c8a9e02ff21f5b4dbc0c9d3a9b Mon Sep 17 00:00:00 2001 From: David Mehren Date: Thu, 14 Oct 2021 19:55:55 +0200 Subject: [PATCH] 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 --- jest-e2e.json | 2 +- package.json | 2 +- tsconfig.test.json => test/tsconfig.json | 2 +- tsconfig.test.json.license => test/tsconfig.json.license | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename tsconfig.test.json => test/tsconfig.json (60%) rename tsconfig.test.json.license => test/tsconfig.json.license (100%) diff --git a/jest-e2e.json b/jest-e2e.json index 4dccfdafa..e0a3c5d31 100644 --- a/jest-e2e.json +++ b/jest-e2e.json @@ -16,7 +16,7 @@ "testTimeout": 10000, "globals": { "ts-jest": { - "tsconfig": "tsconfig.test.json" + "tsconfig": "test/tsconfig.json" } } } diff --git a/package.json b/package.json index 87b28b9ea..253e7ea2e 100644 --- a/package.json +++ b/package.json @@ -108,7 +108,7 @@ "testEnvironment": "node", "globals": { "ts-jest": { - "tsconfig": "tsconfig.test.json" + "tsconfig": "test/tsconfig.json" } } } diff --git a/tsconfig.test.json b/test/tsconfig.json similarity index 60% rename from tsconfig.test.json rename to test/tsconfig.json index 5787af45b..fa51fa43e 100644 --- a/tsconfig.test.json +++ b/test/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "./tsconfig.json", + "extends": "../tsconfig.json", "compilerOptions": { "strict": false } diff --git a/tsconfig.test.json.license b/test/tsconfig.json.license similarity index 100% rename from tsconfig.test.json.license rename to test/tsconfig.json.license