mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-23 00:42:11 +00:00
Disable strict mode for tests
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
246d053b68
commit
098ebd0445
4 changed files with 21 additions and 2 deletions
|
@ -13,5 +13,10 @@
|
|||
"^.+\\.(t|j)s$": "ts-jest"
|
||||
},
|
||||
"coverageDirectory": "./coverage-e2e",
|
||||
"testTimeout": 10000
|
||||
"testTimeout": 10000,
|
||||
"globals": {
|
||||
"ts-jest": {
|
||||
"tsconfig": "tsconfig.test.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -98,6 +98,11 @@
|
|||
"^.+\\.(t|j)s$": "ts-jest"
|
||||
},
|
||||
"coverageDirectory": "../coverage",
|
||||
"testEnvironment": "node"
|
||||
"testEnvironment": "node",
|
||||
"globals": {
|
||||
"ts-jest": {
|
||||
"tsconfig": "tsconfig.test.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
6
tsconfig.test.json
Normal file
6
tsconfig.test.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"strict": false
|
||||
}
|
||||
}
|
3
tsconfig.test.json.license
Normal file
3
tsconfig.test.json.license
Normal file
|
@ -0,0 +1,3 @@
|
|||
SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
|
||||
|
||||
SPDX-License-Identifier: CC0-1.0
|
Loading…
Reference in a new issue