Skip to content

Commit

Permalink
Plug ~100 test leaks (#12020)
Browse files Browse the repository at this point in the history
  • Loading branch information
rickhanlonii authored and gaearon committed Jan 15, 2018
1 parent 80d6792 commit 4f309f8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions scripts/jest/setupEnvironment.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,4 @@ if (typeof window !== 'undefined') {
event.preventDefault();
}
});

// Mock for ReactART.
HTMLCanvasElement.prototype.getContext = () => ({});
}

0 comments on commit 4f309f8

Please sign in to comment.