From de2e4bb5eb2f8b3b1890aabdb81e3e3e07503182 Mon Sep 17 00:00:00 2001 From: Ignat Shining Date: Mon, 8 Feb 2016 10:15:28 +0300 Subject: [PATCH] Move babel-polyfill to loadtests.js --- README.md | 1 + karma.conf.js | 1 - test/loadtests.js | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0fa1115..4d2ea19 100644 --- a/README.md +++ b/README.md @@ -109,3 +109,4 @@ react-webpack-template is available under MIT-License and can therefore be used - Martin Jul (martin@mjul.com) - Stephan Herzog (sthzgvie@gmail.com) - Kashif Iqbal Khan +- Ignat Shining (mail@igonato.com) diff --git a/karma.conf.js b/karma.conf.js index 0b1c903..4ef657b 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -5,7 +5,6 @@ module.exports = function(config) { basePath: '', browsers: [ 'PhantomJS' ], files: [ - 'node_modules/babel-polyfill/dist/polyfill.js', 'test/loadtests.js' ], port: 8080, diff --git a/test/loadtests.js b/test/loadtests.js index 416bc13..6e80a96 100644 --- a/test/loadtests.js +++ b/test/loadtests.js @@ -1,5 +1,6 @@ 'use strict'; +require('babel-polyfill'); require('core-js/fn/object/assign'); // Add support for all files in the test directory