-
-
Notifications
You must be signed in to change notification settings - Fork 364
Possible to load source code from source map for coverage report? #1307
Copy link
Copy link
Open
Description
Hi,
is it possible to load the source code of a file for the html reporter from the source map instead of looking for it on the file system? I have a case of a generated code without a proper mapping, the coverage summary is fine, but when I click on the file, it says "Unable to lookup souce... ENOENT".
I saw that there is a sourceFinder option in Context, but it does not seem to be used for loading sources from source maps yet.
Environment Information
System:
OS: Linux 4.19 Debian GNU/Linux bullseye/sid
CPU: (8) x64 Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
Memory: 1.57 GB / 15.57 GB
Binaries:
Node: 12.16.2 - /usr/local/bin/node
Yarn: 1.22.4 - /usr/local/bin/yarn
npm: 6.14.4 - /usr/local/bin/npm
npmPackages:
@babel/core: 7.x => 7.9.6
nyc: 15.x => 15.0.1
rollup-plugin-babel: 4.x => 4.4.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels