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.

Jest 20: mapCoverage

See original GitHub issue
  • Issue

With mapCoverage set to true, I seem to get this:

code_coverage_report_for_all_files

in the reports with:

code_coverage_report_for_src_base_serialization_file__users_joscha_dev_canva_web_src_base_serialization_deserialization_ts

when I drill into the file.

If I disable mapCoverage everything seems to work as expected regarding the coverage, but the mapping is shifted.

  • Expected behavior

No file:// links

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:15 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
thymikeecommented, May 10, 2017

Yes

1reaction
joschacommented, May 8, 2017

This shows the problem: https://github.com/joscha/jest-20 - I haven’t found out where exactly it blows up.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Configuring Jest
* every 20 milliseconds. A custom time delta may be provided by passing a number. * The default is `false`.
Read more >
ts-jest - npm
ts-jest is a TypeScript preprocessor with source map support for Jest that lets you use Jest to test projects written in TypeScript.
Read more >
Configuring code coverage in Jest, the right way
In this brief tutorial we see how to configure code coverage for Jest, the right way.
Read more >
Angular jest how to ignore *.spec.ts file in coverage report?
See my answer on this question. The short answer is to add it to the coverageIgnorePatterns option. I use an external JSON file...
Read more >
Jest CLI Options Jest官方教程 _w3cschool - 编程狮
Jest CLI Options The jest command line runner has a number of useful options. You can run jest --help to view all available...
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 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