Description
Hi, , I’m getting an error when running Jest (jsdom) test and I try to import @zoom1234/videosdk.
Browser Console Error
Test suite failed to run
TypeError: Cannot read property 'subtle' of undefined
> 1 | import ZoomVideo from '@zoom/videosdk';
| ^
2 | import { eventNames } from '../../events';
3 | import type { SurfaceType } from '../../surface';
4 | import { generateVideoToken } from './video-call-auth';
at Object.<anonymous> (node_modules/@zoom/videosdk/dist/index.js:1:100082)
at Object.<anonymous> (src/interface/video-calls/video-call.js:1:1)
Which Web Video SDK version?
1.1.6
Video SDK Code Snippets
The code snippets that are causing the error / issue so we can reproduce.
To Reproduce(If applicable)
Steps to reproduce the behavior:
- Go to ‘…’
- Click on ‘…’
- Scroll down to ‘…’
- See error
Screenshots
If applicable, add screenshots to help explain your problem.
Device (please complete the following information):
- Device: Macbook Pro & Codeship
- OS: macOS 11.6, Unbutu linux
- Browser: Chrome
- Browser Version: Version 95.0.4638.69 (Official Build) (x86_64)
Additional context
Add any other context about the problem here.