mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 11:16:31 -05:00
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:
parent
454f9ee207
commit
441e7402a8
4 changed files with 3 additions and 3 deletions
|
@ -16,7 +16,7 @@
|
||||||
"testTimeout": 10000,
|
"testTimeout": 10000,
|
||||||
"globals": {
|
"globals": {
|
||||||
"ts-jest": {
|
"ts-jest": {
|
||||||
"tsconfig": "tsconfig.test.json"
|
"tsconfig": "test/tsconfig.json"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -108,7 +108,7 @@
|
||||||
"testEnvironment": "node",
|
"testEnvironment": "node",
|
||||||
"globals": {
|
"globals": {
|
||||||
"ts-jest": {
|
"ts-jest": {
|
||||||
"tsconfig": "tsconfig.test.json"
|
"tsconfig": "test/tsconfig.json"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"extends": "./tsconfig.json",
|
"extends": "../tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"strict": false
|
"strict": false
|
||||||
}
|
}
|
Loading…
Reference in a new issue