Skip to content

Commit

Permalink
Merge pull request #399 from perrin4869/master
Browse files Browse the repository at this point in the history
Fix requestAnimationFrame warning in tests
  • Loading branch information
jamuhl committed Mar 6, 2018
2 parents 7ff5af1 + 82cf0f6 commit 36dad75
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"jest": "21.2.1",
"jest-cli": "21.2.1",
"mkdirp": "0.5.1",
"raf": "^3.4.0",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"react-test-renderer": "^16.0.0",
Expand Down
2 changes: 2 additions & 0 deletions test/setup.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import 'raf/polyfill';

import Enzyme from 'enzyme';
import Adapter from 'enzyme-adapter-react-16';

Expand Down

0 comments on commit 36dad75

Please sign in to comment.