There are new versions of jest available from npm.
_No content found._
not sure if related, but trying to upgrade jest to 22 broke storyshots on a codebase I work on with:
FAIL ./Storyshots.test.js
● Test suite failed to run
Invariant Violation: Target container is not a DOM element.
at invariant (node_modules/fbjs/lib/invariant.js:42:15)
at renderSubtreeIntoContainer (node_modules/react-dom/cjs/react-dom.development.js:15180:34)
at Object.render (node_modules/react-dom/cjs/react-dom.development.js:15290:12)
at renderException (node_modules/@storybook/react/dist/client/preview/render.js:66:22)
at renderPreview (node_modules/@storybook/react/dist/client/preview/render.js:140:12)
at renderUI (node_modules/@storybook/react/dist/client/preview/index.js:89:26)
at Object.dispatch (node_modules/redux/lib/createStore.js:186:7)
at ConfigApi._renderError (node_modules/@storybook/react/dist/client/preview/config_api.js:57:24)
at render (node_modules/@storybook/react/dist/client/preview/config_api.js:76:19)
at ConfigApi.configure (node_modules/@storybook/react/dist/client/preview/config_api.js:91:9)
at evalmachine.<anonymous>:19:22
at runWithRequireContext (node_modules/@storybook/addon-storyshots/dist/require_context.js:102:3)
at testStorySnapshots (node_modules/@storybook/addon-storyshots/dist/index.js:105:35)
at Object.<anonymous> (Storyshots.test.js:2:31)
Most helpful comment
not sure if related, but trying to upgrade jest to 22 broke storyshots on a codebase I work on with: