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

test(coverage): ignore build_highlight_alias #404

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .c8rc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{
"all": "true"
Copy link
Member

@uiolee uiolee May 17, 2024

Choose a reason for hiding this comment

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

"all" is necessary.
Otherwise those files which are not introduced will be ignored. For example, if you delete test/highlight.spec.ts, you will find that the coverage reaches 100%.

In other words, if we forget to add a corresponding test file for a certain file, coverage will not expose this problem.

"include": [
"lib/**/*.ts"
]
}
Loading