You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This error will occur if init is called in jsdom / Jest.
Error: Not implemented: HTMLCanvasElement.prototype.getContext (without installing the canvas npm package)
at module.exports (/Users/srmagura/Documents/oss/emoji-mart/node_modules/jsdom/lib/jsdom/browser/not-implemented.js:9:17)
at HTMLCanvasElementImpl.getContext (/Users/srmagura/Documents/oss/emoji-mart/node_modules/jsdom/lib/jsdom/living/nodes/HTMLCanvasElement-impl.js:42:5)
at HTMLCanvasElement.getContext (/Users/srmagura/Documents/oss/emoji-mart/node_modules/jsdom/lib/jsdom/living/generated/HTMLCanvasElement.js:131:58)
at /Users/srmagura/Documents/oss/emoji-mart/node_modules/is-emoji-supported/src/is-emoji-supported.ts:47:44
at Object.<anonymous> (/Users/srmagura/Documents/oss/emoji-mart/node_modules/is-emoji-supported/src/is-emoji-supported.ts:107:2)
at Runtime._execModule (/Users/srmagura/Documents/oss/emoji-mart/node_modules/jest-runtime/build/index.js:1691:24)
at Runtime._loadModule (/Users/srmagura/Documents/oss/emoji-mart/node_modules/jest-runtime/build/index.js:1222:12)
at Runtime.requireModule (/Users/srmagura/Documents/oss/emoji-mart/node_modules/jest-runtime/build/index.js:1046:12)
at Runtime.requireModuleOrMock (/Users/srmagura/Documents/oss/emoji-mart/node_modules/jest-runtime/build/index.js:1247:21)
at Runtime.loadCjsAsEsm (/Users/srmagura/Documents/oss/emoji-mart/node_modules/jest-runtime/build/index.js:853:22) {
type: 'not implemented'
}
@EtienneLem I saw you closed the PR, but I still have this error in my application console while running the tests, do we still wait for the fixes to be deployed to the new version?
This error will occur if
init
is called in jsdom / Jest.I've created a PR to is-emoji-supported that fixes it: koala-interactive/is-emoji-supported#21
The text was updated successfully, but these errors were encountered: