es6-karma-jasmine-webpack-boilerplate
es6-karma-jasmine-webpack-boilerplate copied to clipboard
Boilerplate for ES6 client-based library. Uses Babel and webpack for transpiling and building, Karma and Jasmine for unit testing, and Istanbul/Isparta for code coverage.
I made sure i did not have global packages of karma or anything else to conflict while running this. Then i ran: npm install npm build npm test **Here is...
hi Melvin @zyml I found my webpack.karma.context.js is included in coverage report,how can I exclude it? thanks  **webpack.karma.context.js** `let context = require.context('./app', true, /\.js/); context.keys().forEach(context);` **karma.conf.js** `var webpack =...
``` js include: path.resolve(__dirname, '../src'), ``` [karma.config.js#L49](https://github.com/zyml/es6-karma-jasmine-webpack-boilerplate/blob/05b74e4/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...
While debugging the unit test in Chrome I noticed the the source file was missing the sourceMappingURL and not rendering correctly. Is there an easy fix for this?