remove the presets from karma.conf.js
as it seems to pick them up from .babelrcpull/21833/head
parent
89ca18b556
commit
2873541a1f
|
@ -131,13 +131,7 @@ module.exports = function (config) {
|
||||||
test: /\.js$/, loader: "babel",
|
test: /\.js$/, loader: "babel",
|
||||||
include: [path.resolve('./src'),
|
include: [path.resolve('./src'),
|
||||||
path.resolve('./test'),
|
path.resolve('./test'),
|
||||||
],
|
]
|
||||||
query: {
|
|
||||||
// we're using react 5, for consistency with
|
|
||||||
// the release build, which doesn't use the
|
|
||||||
// presets.
|
|
||||||
// presets: ['react', 'es2015'],
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
noParse: [
|
noParse: [
|
||||||
|
|
Loading…
Reference in New Issue