A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/facebook/jest/issues/11188 below:

Document some of the tradeoffs of V8 coverage (vs Babel/Istanbul coverage) · Issue #11188 · jestjs/jest · GitHub

🐛 Bug Report

Jest supports two code coverage providers: the default babel provider based on Istanbul, and a newer experimental-but-encouraged v8 provider (#8596) based on V8's built-in coverage features.

When I tried switching to V8 coverage, I noticed a few subtle-but-important differences that don't seem to be explicitly documented. And when I investigated further, I found that some of those differences are not a result of V8 coverage being experimental, but are caused by deeper limitations and deliberate tradeoffs that might not change in the foreseeable future.

(V8 coverage still has plenty of merit, especially in terms of performance; I'd just like to help people understand the decision they're making when they use it.)

The main differences I want to point out are:

I'd like to find a way to update the coverageProvider documentation to mention some or all of these tradeoffs, hopefully in a way that isn't too intimidating or discouraging.

thymikee, lillallol, viceice, Stephanemw, lencioni and 3 more


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4