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

fix(core): allow skipped tests when matching mutants #2487

Merged
merged 1 commit into from
Sep 17, 2020

Conversation

nicojs
Copy link
Member

@nicojs nicojs commented Sep 17, 2020

Allow for a coverage per test result for a non-existing test. This can happen when you add a this.skip inside a it. In that case, beforeEach still executes and can add test coverage.

We now ignore simply ignore this and log a debug message.

Fixes #2485

Allow for a coverage per test result for a non-existing test. This can happen when you add a `this.skip` inside a `it`. In that case, `beforeEach` still executes and can add test coverage.

We now ignore simply ignore this and log a debug message.
@nicojs nicojs merged commit 09eacee into epic/mutation-switching Sep 17, 2020
@nicojs nicojs deleted the fix/skipped-test-allowed branch September 17, 2020 13:02
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.

4.0.0.beta - Skipped tests with coverage analysis can result in an error
1 participant