-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consecutive test cases fails with Error: Not supported #910
Comments
This looks very similar to #909. I recommend Or, if anyone has any ideas on how to fix this, I'm all ears. |
There also loads of info in the various threads about |
I will try to use shallow, but that means I have to update my already written tests. And I am unsure that I will be able to in all cases. |
Webmaster1116
added a commit
to Webmaster1116/video-player
that referenced
this issue
May 20, 2021
Fixes cookpete/react-player#912 Fixes cookpete/react-player#907 Fixes cookpete/react-player#865 Sort of fixes cookpete/react-player#910 Sort of fixes cookpete/react-player#902 Affects cookpete/react-player#886 Affects cookpete/react-player#738
webmiraclepro
added a commit
to webmiraclepro/video-player
that referenced
this issue
Sep 9, 2022
Fixes cookpete/react-player#912 Fixes cookpete/react-player#907 Fixes cookpete/react-player#865 Sort of fixes cookpete/react-player#910 Sort of fixes cookpete/react-player#902 Affects cookpete/react-player#886 Affects cookpete/react-player#738
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current Behavior
When executing several tests in the same file each consecutive test fails with the following error:
Error: Uncaught [Error: Not supported]
I am suspecting that the use of
Suspense
might have something to do with it since this linehttps://github.com/CookPete/react-player/blob/2a9e09c7405a67ac767c6f8f03b0559e541046e0/src/ReactPlayer.js#L13
Will continue to use Suspence in a JsDom environment.
Expected Behavior
No error to be thrown
Steps to Reproduce
React component
Test file
Environment
The text was updated successfully, but these errors were encountered: