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 reports show correct summary in console and XML file but the HTML table is empty #9433

Closed
acoutts opened this issue Jan 20, 2020 · 2 comments

Comments

@acoutts
Copy link

acoutts commented Jan 20, 2020

🐛 Bug Report

When running a coverage report, the coverage data is not put into the HTML files but it displays fine within the terminal output.

To Reproduce

yarn test --coverage

Expected behavior

Should output HTML report with coverage numbers.

envinfo

Project is using react-native 0.61.5

  System:
    OS: Linux 4.15 Ubuntu 18.04.3 LTS (Bionic Beaver)
    CPU: (8) x64 Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz
    Memory: 11.50 GB / 61.90 GB
    Container: Yes
    Shell: 5.4.2 - /bin/zsh
  Binaries:
    Node: 10.16.3 - ~/.nvm/versions/node/v10.16.3/bin/node
    Yarn: 1.21.1 - /usr/bin/yarn
    npm: 6.9.0 - ~/.nvm/versions/node/v10.16.3/bin/npm
  Managers:
    Apt: 1.6.12 - /usr/bin/apt
    Gradle: 6.0.1 - ~/.sdkman/candidates/gradle/current/bin/gradle
    pip2: 9.0.1 - /usr/bin/pip2
    pip3: 9.0.1 - /usr/bin/pip3
  Utilities:
    CMake: 3.13.2 - /home/xff0c/eosio/1.8/bin/cmake
    Make: 4.1 - /usr/bin/make
    GCC: 7.4.0 - /usr/bin/gcc
    Git: 2.17.1 - /usr/bin/git
  Virtualization:
    Docker: 18.09.7 - /usr/bin/docker
  IDEs:
    Nano: 2.9.3 - /bin/nano
    VSCode: 1.41.1 - /snap/bin/code
    Vim: 8.0 - /usr/bin/vim
  Languages:
    Bash: 4.4.20 - /bin/bash
    Go: 1.13.5 - /usr/local/go/bin/go
    Java: 1.8.0_232 - /usr/bin/javac
    Perl: 5.26.1 - /usr/bin/perl
    Python: 2.7.17 - /usr/bin/python
    Python3: 3.6.9 - /usr/bin/python3
  Browsers:
    Chrome: 79.0.3945.130
    Firefox: 72.0.1

The console output looks great:
Screenshot_2020-01-20_11-38-24

But the HTML report is empty:
Screenshot_2020-01-20_11-38-09

@acoutts
Copy link
Author

acoutts commented Jan 20, 2020

Looks like it's been fixed. Followed this thread and fixed it with yarn upgrade #9388

@acoutts acoutts closed this as completed Jan 20, 2020
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant