We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
29.7.0
experimentalDecorators
emitDecoratorMetadata
Coverage report should cover 100% of the code in every category
Coverage report leave the line below the decorator as uncovered line.
Repo where you can recreate this issue: https://github.com/srinesha/decorator-coverage-issue
Steps:
yarn install
yarn test:coverage
System: OS: Linux 6.6 NixOS 24.05 (Uakari) 24.05 (Uakari) CPU: (12) x64 12th Gen Intel(R) Core(TM) i7-1255U Binaries: Node: 22.4.1 - /etc/profiles/per-user/s1n7ax/bin/node Yarn: 1.22.22 - /etc/profiles/per-user/s1n7ax/bin/yarn npm: 10.8.1 - /etc/profiles/per-user/s1n7ax/bin/npm pnpm: 8.15.5 - /etc/profiles/per-user/s1n7ax/bin/pnpm
The text was updated successfully, but these errors were encountered:
It seems it's a issue from transpiled decorator code. The first decorator could never be covered.
After checking the transpiled code coverage, the first property indeed has not been covered. And there are 3 different processing for the properties:
It is the same issue after changing the order.
Sorry, something went wrong.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 30 days.
having the same issue
No branches or pull requests
Version
29.7.0
Steps to reproduce
experimentalDecorators
oremitDecoratorMetadata
needed)Expected behavior
Coverage report should cover 100% of the code in every category
Actual behavior
Coverage report leave the line below the decorator as uncovered line.
Additional context
Repo where you can recreate this issue:
https://github.com/srinesha/decorator-coverage-issue
Steps:
yarn install
to install dependenciesyarn test:coverage
to run test and generate the coverage reportEnvironment
The text was updated successfully, but these errors were encountered: