Skip to content
This repository has been archived by the owner on Feb 19, 2024. It is now read-only.

Commit

Permalink
Add babelPolyfill to fix breaking tests in gisida-react
Browse files Browse the repository at this point in the history
  • Loading branch information
cKellyDesign committed Jan 28, 2020
1 parent d80a6aa commit 83e2f6c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ import regions from './store/reducers/regions';
import styles from './store/reducers/styles';
import supersetConfig from './store/reducers/superset-config';

// eslint-disable-next-line no-underscore-dangle, global-require
if (!global._babelPolyfill) require('babel-polyfill');

const gisida = {};

gisida.version = require('../package.json').version;
Expand Down

0 comments on commit 83e2f6c

Please sign in to comment.