-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ryan Kim
committed
Dec 20, 2017
1 parent
a23d960
commit e12e0fe
Showing
3 changed files
with
1,568 additions
and
1,629 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
import 'raf/polyfill'; | ||
import Enzyme from 'enzyme'; | ||
import Adapter from 'enzyme-adapter-react-16'; | ||
|
||
Enzyme.configure({ adapter: new Adapter() }); | ||
|
||
window.React = require('react'); | ||
|
||
// Monkey patch RAF until jest does | ||
window.requestAnimationFrame = callback => window.setTimeout(callback, 0); |
Oops, something went wrong.