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

Setup Code Coverage tracking to have a better idea of test coverage #108

Open
smarr opened this issue Jul 31, 2022 · 0 comments
Open

Setup Code Coverage tracking to have a better idea of test coverage #108

smarr opened this issue Jul 31, 2022 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@smarr
Copy link
Owner

smarr commented Jul 31, 2022

It's pretty simple with Jest.

The --coverage --collectCoverageFrom='src/**' options seem to be useful.

E.g.: node --no-warnings --experimental-vm-modules ./node_modules/jest/bin/jest.js tests/ui.test.ts --coverage --collectCoverageFrom='src/**'

Though, would be nice to have a useful github action going with it.

@smarr smarr added the help wanted Extra attention is needed label Jul 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant