diff --git a/scripts/jest/setupEnvironment.js b/scripts/jest/setupEnvironment.js index c3e2bc4dc0..fb0ff69296 100644 --- a/scripts/jest/setupEnvironment.js +++ b/scripts/jest/setupEnvironment.js @@ -44,7 +44,4 @@ if (typeof window !== 'undefined') { event.preventDefault(); } }); - - // Mock for ReactART. - HTMLCanvasElement.prototype.getContext = () => ({}); }