2019-01-08 00:46:19 +00:00
|
|
|
{
|
|
|
|
"scripts": {
|
|
|
|
"test": "jest"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@types/jest": "^23.3.12",
|
|
|
|
"jest": "^23.6.0",
|
2019-01-14 20:58:34 +00:00
|
|
|
"ts-jest": "^23.10.5"
|
2019-01-08 00:46:19 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"xmlhttprequest": "1.8.0"
|
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"moduleFileExtensions": [
|
|
|
|
"ts",
|
|
|
|
"tsx",
|
|
|
|
"js",
|
|
|
|
"json"
|
|
|
|
],
|
|
|
|
"setupFiles": [
|
2019-01-14 20:58:34 +00:00
|
|
|
"<rootDir>/../scripts/test-setup.js"
|
2019-01-08 00:46:19 +00:00
|
|
|
],
|
|
|
|
"moduleNameMapper": {
|
2019-01-14 20:58:34 +00:00
|
|
|
"^.+\\.(s?css|png|svg)$": "<rootDir>/../scripts/dummy.js",
|
2019-01-11 19:33:44 +00:00
|
|
|
"@coder/(.*)/testing": "<rootDir>/$1/testing",
|
|
|
|
"@coder/(.*)": "<rootDir>/$1/src"
|
2019-01-08 00:46:19 +00:00
|
|
|
},
|
|
|
|
"transform": {
|
|
|
|
"^.+\\.tsx?$": "ts-jest"
|
|
|
|
},
|
|
|
|
"testPathIgnorePatterns": [
|
|
|
|
"/node_modules/",
|
|
|
|
"/logger/"
|
|
|
|
],
|
|
|
|
"testRegex": ".*\\.test\\.tsx?"
|
|
|
|
}
|
|
|
|
}
|