Skip to content

Commit

Permalink
Updated TypeScript documentation (#5149)
Browse files Browse the repository at this point in the history
  • Loading branch information
screendriver authored and cpojer committed Jan 6, 2018
1 parent 9cd00e6 commit a9a3df0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,14 +127,16 @@ then modify your `package.json` so the `jest` section looks something like:
{
"jest": {
"transform": {
"^.+\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
"jsx",
"json",
"node"
]
}
}
Expand Down

0 comments on commit a9a3df0

Please sign in to comment.