diff --git a/src/setupTests.js b/src/setupTests.js index 80cab3dd..64d4d4b5 100644 --- a/src/setupTests.js +++ b/src/setupTests.js @@ -5,9 +5,3 @@ import serializer from "enzyme-to-json/serializer"; configure({ adapter: new Adapter() }); expect.addSnapshotSerializer(serializer); - -global.requestAnimationFrame = function(callback) { - setTimeout(callback, 0); -}; - -global.cancelAnimationFrame = function(callback) {};