test: add empty test files so packages are included in coverage #1899
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Add empty test files in packages without any tests so they are included in coverage with 0%, instead of completely ignored.
This is added only for packages that are supposed to be included (cross checked with ignored files in codecov).
Check issue for more information on why is this needed.
For reference, codecov report for this branch: https://app.codecov.io/gh/zeta-chain/node/tree/test-add-missing-test-files/zetaclient
vs codecov report for develop branch: https://app.codecov.io/gh/zeta-chain/node/tree/develop/
(check packages where empty test files are added in this PR, they are ignored on develop codecov)
Closes: #1893
Type of change
Tests
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Include instructions and any relevant details so others can reproduce.
Checklist: