Skip to content

Commit 4f309f8

Browse files
rickhanloniigaearon
authored andcommitted
Plug ~100 test leaks (#12020)
1 parent 80d6792 commit 4f309f8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

scripts/jest/setupEnvironment.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,4 @@ if (typeof window !== 'undefined') {
4444
event.preventDefault();
4545
}
4646
});
47-
48-
// Mock for ReactART.
49-
HTMLCanvasElement.prototype.getContext = () => ({});
5047
}

0 commit comments

Comments
 (0)