Skip to content

Commit

Permalink
test: Include babel-polyfill
Browse files Browse the repository at this point in the history
This is a first step toward a refactor of the code base to get rid of any custom polyfill
  • Loading branch information
Federico Zivolo committed Nov 11, 2017
1 parent ac8e5da commit ca90bac
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/test/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ module.exports = function(config) {
plugins: [resolve(), babel(babelrc)],
},
files: [
'./node_modules/babel-polyfill/dist/polyfill.js',
'./tests/styles/*.css',
'./tests/functional/*.js',
'./tests/unit/*.js',
Expand Down
1 change: 1 addition & 0 deletions packages/test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-istanbul": "^4.1.4",
"babel-plugin-module-resolver": "^2.7.1",
"babel-polyfill": "^6.26.0",
"babel-preset-minify": "^0.2.0",
"babel-preset-stage-2": "^6.24.1",
"chai": "^4.0.1",
Expand Down
10 changes: 9 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -962,6 +962,14 @@ [email protected]:
core-js "^2.4.0"
regenerator-runtime "^0.10.0"

babel-polyfill@^6.26.0:
version "6.26.0"
resolved "https://registry.yarnpkg.com/babel-polyfill/-/babel-polyfill-6.26.0.tgz#379937abc67d7895970adc621f284cd966cf2153"
dependencies:
babel-runtime "^6.26.0"
core-js "^2.5.0"
regenerator-runtime "^0.10.5"

babel-preset-env@^1.5.2:
version "1.6.1"
resolved "https://registry.yarnpkg.com/babel-preset-env/-/babel-preset-env-1.6.1.tgz#a18b564cc9b9afdf4aae57ae3c1b0d99188e6f48"
Expand Down Expand Up @@ -5322,7 +5330,7 @@ regenerate@^1.2.1:
version "1.3.3"
resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.3.3.tgz#0c336d3980553d755c39b586ae3b20aa49c82b7f"

regenerator-runtime@^0.10.0:
regenerator-runtime@^0.10.0, regenerator-runtime@^0.10.5:
version "0.10.5"
resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz#336c3efc1220adcedda2c9fab67b5a7955a33658"

Expand Down

0 comments on commit ca90bac

Please sign in to comment.