You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems to me like bug. I can't recongnize such quickly whether it is in Jest or not.
When I scoping jsx into ReactCSSTransitionGroup components I getting following error in tests.
FAIL specs/components/Component.jsx
● Test suite failed to run
Invariant Violation: ReactCompositeComponent: injectEnvironment() can only be called once.
at invariant (node_modules/fbjs/lib/invariant.js:38:15)
at Object.injectEnvironment (node_modules/react/lib/ReactComponentEnvironment.js:36:60)
at Object.<anonymous> (node_modules/react/lib/ReactTestRenderer.js:130:37)
at Object.<anonymous> (node_modules/react-test-renderer/index.js:4:18)
at Object.<anonymous> (specs/components/helpers/assertComponent.jsx:2:52)
at Object.<anonymous> (specs/components/Component.jsx:22:50)
at process._tickCallback (internal/process/next_tick.js:103:7)
The text was updated successfully, but these errors were encountered:
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.
This seems to me like bug. I can't recongnize such quickly whether it is in Jest or not.
When I scoping jsx into
ReactCSSTransitionGroup
components I getting following error in tests.The text was updated successfully, but these errors were encountered: