question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hi, I’m sorry for the really stupid issue but my build started generating empty reports and I don’t know how to fix it…

This is my Karma config: https://github.com/FezVrasta/popper.js/blob/master/packages/test/karma.conf.js

And this is how I run it: https://github.com/FezVrasta/popper.js/blob/master/packages/popper/package.json#L39

(this is the karma-coverage bin link)

I don’t really understand why it’s generating empty reports, everything seems okay… Do you have ideas?

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:1
  • Comments:14 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
stevenvachoncommented, Apr 3, 2018

Anyone? I’d prefer to not abandon istanbul for something else.

0reactions
abishek-srinivasancommented, Sep 24, 2019

I use “ember-cli-code-coverage”: “1.0.0-beta.1” and that has babel-plugin-istanbul: “^4.1.5” and istanbul-api: ^1.1.14 as dependency. I am able to run the complete test suite. But my coverage/lcov.info is empty. The file is generated but it does not contain any data. When I check my jenkins Codecov, it says, Reading reports

Skipping empty file ./coverage/lcov.info –> No coverage data found. When I open coverage/lcov-report/index.html, it shows everything as Zero. Something like this All files Unknown% Statements 0/0Unknown% Branches 0/0Unknown% Functions 0/0Unknown% Lines 0/0

Does anybody have some idea about it? Am I missing some configuration? I don’t have a nyc or babelrc file as I use 1.0.0-beta.1 version which uses babel 6. My config/coverage.js is as follows: module.exports = { excludes: [‘/mirage//', '/lib//’, ‘/assets/**/’], parallel: true, coverageEnvVar: true };

Read more comments on GitHub >

github_iconTop Results From Across the Web

Controlling the Display of Empty Reports
An empty report, that is, the report without data but including column titles, a report heading (if one was specified in the report...
Read more >
Empty reports - Tenable Community
One of our clients is complaining about the lack of data (empty reports) when there is nothing to report. Here is the setup:....
Read more >
Troubleshoot Empty Reports - LogRhythm Documentation
When a report is empty, there could be multiple causes. This page was compiled from common issues experienced by LogRhythm customers.
Read more >
Blank Report - Xero Central
The Blank Report lets you create your own report from scratch, including text, notes and account schedules. How the Blank Report works. The...
Read more >
All reports are empty - Forcepoint
If there is no data for any of your reports, make sure that: ... Go to the Web > Settings > Reporting >...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found