From 4f309f86df3d5eea452f7c1651bc9903cbee021a Mon Sep 17 00:00:00 2001 From: Rick Hanlon II Date: Mon, 15 Jan 2018 06:15:19 -0500 Subject: [PATCH] Plug ~100 test leaks (#12020) --- scripts/jest/setupEnvironment.js | 3 --- 1 file changed, 3 deletions(-) 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 = () => ({}); }