Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(fix): jest config parsing shouldn't silently fail on error (#499)
- before if your jest.config.js had an error in it, the try/catch would just ignore it and pretend like your jest.config.js didn't exist - this caused me a lot of confusion as to why my customizations seemingly weren't being read at all - instead of try/catching a MODULE_NOT_FOUND, check if it exists first, and only then do parsing - and let it throw an error if there is one, don't cover it up
- Loading branch information