remove the presets from karma.conf.js
as it seems to pick them up from .babelrc
This commit is contained in:
parent
0931f746d8
commit
8c5fde28d1
1 changed files with 1 additions and 7 deletions
|
@ -131,13 +131,7 @@ module.exports = function (config) {
|
|||
test: /\.js$/, loader: "babel",
|
||||
include: [path.resolve('./src'),
|
||||
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: [
|
||||
|
|
Loading…
Reference in a new issue