JSDOM environment for Jest with JSDOM 13 (which doesn't support Node 6)
npm install jest-environment-jsdom-thirteenJSDOM 14 is out, so please check out https://github.com/ianschmitz/jest-environment-jsdom-fourteen unless you _need_ JSDOM 13 for some reason.
Jest environment using JSDOM 13, which does not support Node 6 ([and will therefore not be used in Jest any time soon][simen-comment]).
If you need a newer JSDOM than the one that ships with Jest, add this to your package.json:
``js``
{
// …,
"jest": {
// …
"testEnvironment": "jest-environment-jsdom-thirteen",
// …
},
// …
}
[simen-comment]: https://github.com/kentcdodds/dom-testing-library/issues/115#issuecomment-428314737