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
1 changed files with 1 additions and 0 deletions

View File

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