Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup coverage #245

Merged
merged 13 commits into from
May 24, 2016
Merged

Setup coverage #245

merged 13 commits into from
May 24, 2016

Conversation

levithomason
Copy link
Member

@levithomason levithomason commented May 24, 2016

This PR sets up coverage reporting and fixes some test issues.

npm test

image

HTML Coverage Report

image

]
],
"env": {
"development": {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved all babel config into babelrc. The development section was previously in the loader query.

@@ -45,7 +53,7 @@ module.exports = (karmaConfig) => {
],
},
plugins: [
new webpack.DefinePlugin(config.compiler_globals),
...webpackConfig.plugins,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Plugins are conditionally set in webpack config, use all available plugins.

@@ -51,6 +51,7 @@
"babel-core": "^6.5.2",
"babel-eslint": "^6.0.4",
"babel-loader": "^6.2.0",
"babel-plugin-__coverage__": "^0.111111.11",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lol, is that version for real?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea, I wish this said "babel-plugin-coverage": "^0.1.1". Some other folks are pushing for a "normal" 1.0 release as well on this issue.

@dvdzkwsk
Copy link
Member

👻

@levithomason levithomason merged commit 939c875 into master May 24, 2016
@levithomason levithomason deleted the feature/coverage branch May 24, 2016 15:34
@levithomason levithomason mentioned this pull request May 24, 2016
24 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants