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

Need help with uncovered files #26

Open
aniketicloud opened this issue Aug 10, 2024 · 2 comments
Open

Need help with uncovered files #26

aniketicloud opened this issue Aug 10, 2024 · 2 comments

Comments

@aniketicloud
Copy link

With current setup, all files are not covered. For example, if Button.tsx is added, not Button test; then Button coverage is not showing at all. I tried
include:: 'src/**/*', 'src/**/**/**/*.{ts,tsx,js,jsx}', 'src/*'

@aniketicloud
Copy link
Author

please?

@aniketicloud
Copy link
Author

aniketicloud commented Aug 11, 2024

I tried with this too. No luck.
ctViteConfig: {
plugins: [
react(),
istanbul({
include: 'src/*',
exclude: ['node_modules', 'test/'],
extension: ['.js', '.ts', '.tsx'],
forceBuildInstrument: true,
nycrcPath: './.nycrc.json'
}),
],
},

and passing following in .nycrc.json {
"all": true,
"check-coverage": true
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant