We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c079e2c commit 55afe8aCopy full SHA for 55afe8a
template/gulp-tasks/test.js
@@ -14,7 +14,10 @@ gulp.task('test:server', () => {
14
15
gulp.task('test:client', (done) => {
16
new Server({
17
- files: [path.resolve(dirs.testClient, '**/*.test.js')],
+ files: [
18
+ 'node_modules/babel-polyfill/dist/polyfill.js',
19
+ path.resolve(dirs.testClient, '**/*.test.js'),
20
+ ],
21
configFile: path.resolve(dirs.test, 'karma.conf.js'),
22
singleRun: true,
23
}, done).start();
template/package.json
@@ -24,6 +24,7 @@
24
},
25
"devDependencies": {
26
"babel-core": "^6.25.0",
27
+ "babel-polyfill": "^6.26.0",
28
"babel-preset-es2015": "^6.24.1",
29
"babelify": "^7.3.0",
30
"browserify": "^14.4.0",
0 commit comments