build: fixes build and jest tests on Windows

Fixes #9790
This commit is contained in:
Daniel Lee
2017-11-13 13:48:48 +01:00
parent c44f6e2ec2
commit b51b681400
2 changed files with 13 additions and 8 deletions

View File

@ -1,10 +1,15 @@
module.exports = {
verbose: false,
verbose: true,
"globals": {
"ts-jest": {
"tsConfigFile": "tsconfig.json"
}
},
"transform": {
"^.+\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"moduleDirectories": ["<rootDir>/node_modules", "<rootDir>/public"],
"moduleDirectories": ["node_modules", "public"],
"roots": [
"<rootDir>/public"
],