Include @babel/polyfill for jest tests

This commit is contained in:
Andrew Nicolaou 2019-06-12 12:37:47 +02:00
parent d6438aa3b2
commit f859cfbd0a

View file

@ -1,4 +1,5 @@
import { configure } from 'enzyme' import { configure } from 'enzyme'
import Adapter from 'enzyme-adapter-react-16' import Adapter from 'enzyme-adapter-react-16'
import '@babel/polyfill'
configure({ adapter: new Adapter() }) configure({ adapter: new Adapter() })