Include @babel/polyfill for jest tests
This commit is contained in:
parent
d6438aa3b2
commit
f859cfbd0a
1 changed files with 1 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
import { configure } from 'enzyme'
|
||||
import Adapter from 'enzyme-adapter-react-16'
|
||||
import '@babel/polyfill'
|
||||
|
||||
configure({ adapter: new Adapter() })
|
||||
|
|
Loading…
Reference in a new issue