Zoom Apps Configuration
nodev20.16.0jest29.7.0@zoom/appssdk0.16.22
Description
Importing @zoom/appssdk into a jest test in order to set up mocks results in a version warning despite being on the latest version.
Error?
Method Symbol(Symbol.toStringTag) is not available in this version of Zoom Apps SDK and might not work correctly. Please, update your version of Zoom Apps SDK
How To Reproduce
Create a file named index.test.js:
const zoomSdk = require('@zoom/appssdk')
jest.mock('@zoom/appssdk')
describe('test', () => {
it('should pass', () => {
expect(true).toBeTruthy()
})
})
and a package.json:
{
"scripts": {
"test": "jest index.test.js"
},
"dependencies": {
"@zoom/appssdk": "^0.16.22",
"jest": "^29.7.0"
}
}
then npm install && npm test