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

[swc-angular-plugin] coverage is reported differently, leads to failures #386

Open
markgoho opened this issue May 9, 2024 · 3 comments
Open
Labels
enhancement New feature or request swc-angular

Comments

@markgoho
Copy link

markgoho commented May 9, 2024

normal transform using jest-preset-angular
image

with swc transform
image

everything else works well and is faster!

@markgoho markgoho changed the title swc jest plugin reports coverage differently, leads to failures [swc-plugin-angular] coverage is reported differently, leads to failures May 10, 2024
@markgoho markgoho changed the title [swc-plugin-angular] coverage is reported differently, leads to failures [swc-angular-plugin] coverage is reported differently, leads to failures May 10, 2024
@fdx-kunal
Copy link

Is there a workaround for this?

@markgoho
Copy link
Author

markgoho commented Sep 4, 2024

Is there a workaround for this?

convert everything to use inject rather than use constructor injection

@fdx-kunal
Copy link

Thanks @markgoho, this works for me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request swc-angular
Projects
None yet
Development

No branches or pull requests

3 participants