GetStream/stream-video-js

The latest version of react-native-url-polyfill breaks jest tests

aharwood9 opened this issue · 1 comments

Which package/packages do you use?

  • @stream-io/video-react-sdk
  • @stream-io/video-react-native-sdk
  • @stream-io/video-client

Describe the bug
A clear and concise description of what the bug is.

Adding the video-react-native-sdk has broken the majority of my jest test. After some exploring, it seems to be due to the move to 2.0.0 of react-native-url-polyfill. The Amplify library experienced a similar issue here.

Up until just over a month ago, you were using "1.3.0" so hoping you can revert back to that? PR that changed it here.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Version

  • SDK version

Env:

Fill out what's applicable

React / JS client

  • Browser [e.g. chrome, safari]

React Native

  • OS: [e.g. iOS, linux...]
  • Device or emulator [e.g. android emulator, real iPhone X...]

Node JS client

  • Node version

Additional context
Add any other context about the problem here.

Thanks for bringing it up @aharwood9 !! We are looking into it, and will soon get back to you