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

100% coverage #150

Merged
merged 1 commit into from
Mar 28, 2016
Merged

100% coverage #150

merged 1 commit into from
Mar 28, 2016

Conversation

mstriemer
Copy link
Contributor

@coveralls
Copy link

Coverage Status

Coverage increased (+6.3%) to 100.0% when pulling 9065b8e on mstriemer:test-coverage-144 into 5001432 on mozilla:master.


/* istanbul ignore next */
// Looks like you can't ignore a file but you can ignore a function, we don't want coverage here.
(function defineConfig() {
Copy link
Contributor

Choose a reason for hiding this comment

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

I think you can might be able to using excludes in a .istanbul.yml

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The .istanbul.yml file doesn't appear to be loaded by karma-coverage :(

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I tried looking at this some more and I think it's weird because we only have one file that gets "loaded" (test-runner.js). So it looks like you can ignore a file in the karma conf by making the preprocessors something like src/!(config)/*.js but we just has test-runner.js in there so I don't think there's much we can do.

@muffinresearch
Copy link
Contributor

Be nicer not to do the function thing but otherwise r+wc

@mstriemer mstriemer merged commit faf64c4 into mozilla:master Mar 28, 2016
@mstriemer mstriemer deleted the test-coverage-144 branch March 28, 2016 16:21
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.

Get coverage to 100%
3 participants