From eb1c5c7c55a00c5b0393febc5c2966776718cb80 Mon Sep 17 00:00:00 2001 From: rickhanlonii Date: Sun, 14 Jan 2018 15:19:45 -0500 Subject: [PATCH] Plug ~100 test leaks --- scripts/jest/setupEnvironment.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/jest/setupEnvironment.js b/scripts/jest/setupEnvironment.js index c3e2bc4dc099..fb0ff6929670 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 = () => ({}); }