From fa35dd7246c7676ce9501de1d9136e501bdab92e Mon Sep 17 00:00:00 2001 From: Tom Gehrke Date: Sat, 4 Nov 2017 09:30:26 +0100 Subject: [PATCH] Remove animation frame mocks --- src/setupTests.js | 6 ------ 1 file changed, 6 deletions(-) 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) {};