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

coverage report has no percentage data #30

Open
RwwL opened this issue Jan 23, 2020 · 0 comments
Open

coverage report has no percentage data #30

RwwL opened this issue Jan 23, 2020 · 0 comments

Comments

@RwwL
Copy link

RwwL commented Jan 23, 2020

When I run yarn test, the console output shows me a coverage summary with percentages, like:

Ran all test suites.
-----------------|----------|----------|----------|----------|-------------------|
File             |  % Stmts | % Branch |  % Funcs |  % Lines | Uncovered Line #s |
-----------------|----------|----------|----------|----------|-------------------|
All files        |    38.06 |    27.91 |    13.33 |    39.68 |                   |
Comp1.jsx        |     41.3 |    32.76 |       10 |    44.19 |... 06,107,116,124 |
Comp2.jsx        |    36.36 |    17.86 |       15 |    37.35 |... 44,145,146,153 |
-----------------|----------|----------|----------|----------|-------------------|

...but when I view /coverage/lcov-report/index.html from the project root, the page lists the expected components correctly but contains no data.

( did notice there's not much activity on this project for ~2 years, so if you have a similar-but-newer one that you'd recommend, please say so.)

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