hedgedoc/jest-e2e.json
David Mehren ade58e3ca1
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>
2021-10-21 19:51:57 +02:00

22 lines
379 B
JSON

{
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": ".",
"testEnvironment": "node",
"testMatch": [
"<rootDir>/test/**/*.e2e-spec.{ts,js}"
],
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "./coverage-e2e",
"testTimeout": 10000,
"globals": {
"ts-jest": {
"tsconfig": "test/tsconfig.json"
}
}
}