mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Plug ~100 test leaks (#12020)
This commit is contained in:
committed by
Dan Abramov
parent
80d6792882
commit
4f309f86df
@@ -44,7 +44,4 @@ if (typeof window !== 'undefined') {
|
||||
event.preventDefault();
|
||||
}
|
||||
});
|
||||
|
||||
// Mock for ReactART.
|
||||
HTMLCanvasElement.prototype.getContext = () => ({});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user