Skip to content

Don't instrument any test code for coverage#86608

Merged
alexdima merged 1 commit intomicrosoft:masterfrom
Charles-Gagnon:Charles-Gagnon-patch-1
Jan 14, 2020
Merged

Don't instrument any test code for coverage#86608
alexdima merged 1 commit intomicrosoft:masterfrom
Charles-Gagnon:Charles-Gagnon-patch-1

Conversation

@Charles-Gagnon
Copy link
Contributor

This makes the coverage number more accurate by ignoring anything under a test directory - which includes many non-test.js files that provide other test-specific functionality.

Coverage without change (includes test classes)

image

Coverage with change (excludes test classes)

image

@alexdima alexdima added this to the January 2020 milestone Jan 14, 2020
@alexdima alexdima merged commit 4e5a05c into microsoft:master Jan 14, 2020
@alexdima
Copy link
Member

Thank you!

@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants