Skip to content

Commit

Permalink
added known limitation
Browse files Browse the repository at this point in the history
  • Loading branch information
masters3d authored Jun 17, 2017
1 parent 2634f78 commit f1f0d49
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,9 @@ By default Jest ignores everything in `node_modules`. This setting prevents Jest
"moduleDirectories": ["node_modules", "<path_to_your_sources>"]
}
```
### Known Limitations for TS compiler errors
- Some compiler errors do not show up in [Jest](https://github.com/facebook/jest/issues/2168)
- A workout is to call the ts compiler before calling Jest `tsc --noEmit -p . && jest`
### Known Limitations for hoisting
If the `jest.mock()` calls is placed after actual code, (e.g. after functions or classes) and `skipBabel` is not set,
Expand Down

0 comments on commit f1f0d49

Please sign in to comment.