Skip to content

Commit b65917a

Browse files
committed
Updated development environment.
1 parent c804239 commit b65917a

19 files changed

Lines changed: 8747 additions & 11370 deletions

.babelrc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"presets": [
3-
"react",
4-
"es2015"
3+
["@babel/preset-react"],
4+
["@babel/preset-env"]
55
],
66
"plugins": [
7-
"transform-object-assign",
8-
"transform-object-rest-spread"
7+
"@babel/plugin-transform-object-assign",
8+
"@babel/plugin-proposal-object-rest-spread"
99
]
1010
}

karma.conf.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
var webpackConfig = require('./webpack.config.test');
1+
const webpackConfig = require('./webpack.test');
2+
3+
const puppeteer = require('puppeteer');
4+
process.env.CHROME_BIN = puppeteer.executablePath();
25

36
module.exports = function(karma) {
47

@@ -15,13 +18,12 @@ module.exports = function(karma) {
1518
singleRun: false,
1619
frameworks: [
1720
'jasmine',
18-
'phantomjs-shim',
19-
'es6-shim'
21+
'webpack'
2022
],
2123
preprocessors: {
2224
'tests.webpack.js': 'webpack'
2325
},
24-
browsers: ['PhantomJS'],
26+
browsers: ['ChromeHeadless'],
2527
colors: true,
2628
browserNoActivityTimeout: 100000,
2729
webpackMiddleware: {

0 commit comments

Comments
 (0)