Replies: 1 comment 1 reply
-
I would argue that testing for an unmounted transition is unnecessary. That's the concern of
Why is this a requirement? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I'm trying to test that a component has unmounted at the end of an animation, but the component seems to remain in the DOM no matter what I throw at it. Here's a codesandbox demo of my failing test: https://codesandbox.io/s/react-spring-unmount-component-after-transition-ends-cdjmx?file=/src/App.test.js
Any advice you can provide for this scenario without flat out disabling animations in tests?
Beta Was this translation helpful? Give feedback.
All reactions