es6-karma-jasmine-webpack-boilerplate icon indicating copy to clipboard operation
es6-karma-jasmine-webpack-boilerplate copied to clipboard

Incorrect babel include path in karma config

Open deckar01 opened this issue 8 years ago • 0 comments

include: path.resolve(__dirname, '../src'),

karma.config.js#L49

"../src" should be "src" since karma.config.js is in the root directory. I am putting my tests in "spec" instead of "src/test" and when I tried to add "../spec" to the loader it didn't work, but "spec" and "src" did.

It appears that the config is currently including files based on the includes for "babel-istanbul", and this babel loader block doesn't actually have any affect because the path doesn't exist.

deckar01 avatar Aug 07 '16 16:08 deckar01