Conversation
|
WRT TypeScript, I think you're good (Jest by default finds Ditch I'd prefer
|
|
Thanks a ton @SimenB. Great feedback. I'll incorporate your recommendations shortly. Would you recommend using using https://github.com/theneva/jest-environment-jsdom-thirteen for |
JSDOM 14 has come out, so I'd probably jump straight to that (not sure if anyone's released a jest environment for it yet, though). Good call 🙂 |
Working on it 😉 https://github.com/ianschmitz/jest-environment-jsdom-fourteen |
SimenB
left a comment
There was a problem hiding this comment.
You might wanna update to jest 24.6, it has a few perf improvements
General cleanup after the Jest 24 PR.
This also includes
jsdom@14via https://www.npmjs.com/package/jest-environment-jsdom-fourteen. Since we have a node >= 8.10 requirement, we are able to use the latest version ofjsdomwhich includes additional implementations of browser APIs such asMutationObserver(which we had an issue filed for over at #6617)./cc @SimenB. Is there more you recommend we do to cleanup our Jest config for TypeScript?