From f859cfbd0ae3c2b7308a85ea10460fc780ebc084 Mon Sep 17 00:00:00 2001 From: Andrew Nicolaou Date: Wed, 12 Jun 2019 12:37:47 +0200 Subject: [PATCH] Include @babel/polyfill for jest tests --- jest.setup.js | 1 + 1 file changed, 1 insertion(+) diff --git a/jest.setup.js b/jest.setup.js index 3d6cd1d5..7c9d2b77 100644 --- a/jest.setup.js +++ b/jest.setup.js @@ -1,4 +1,5 @@ import { configure } from 'enzyme' import Adapter from 'enzyme-adapter-react-16' +import '@babel/polyfill' configure({ adapter: new Adapter() })