Skip to content

Commit

Permalink
Remove animation frame mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Gehrke committed Nov 4, 2017
1 parent 898f923 commit fa35dd7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/setupTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {};

0 comments on commit fa35dd7

Please sign in to comment.