Closed mvegter closed 3 years ago
Totals | |
---|---|
Change from base Build 165: | -0.7% |
Covered Lines: | 229 |
Relevant Lines: | 229 |
Hmm, when I try to use this all my files get 100% covered. It just flags each line as completely covered :/
According to line 147 in v8-to-istanbul's v8-to-istanbul.js file all lines start with a coverage of 1
(a change made in april of 2019, before that the default was 0
), and then get set to 0
later. But because puppeteer-to-istanbul
only reports the lines that DO get coverage, they're never set to 0
?
@skerit good catch, sounds like we can't merge this just yet. It might be worth coordinating a bit with puppeteer, to see if we can get output that's closer to the raw V8 output?
Note that this is breaking due to the required
load
method of the async source-map dependency. Changing the public interface of write to async has its advantages of later upgrading/updating the file system parts to async/promises.Updated Travis to use the maintenance LTS (node 10 which will be EOL 2021-04-30), see https://nodejs.org/en/about/releases/ for more info.
Fixes #49