Closed josx closed 10 years ago
Point 1: this is already available GET /
should give you the info and you can drill down (/
is w.r.t to the mount point you used for coverage - if it is '/coverage' then the path would be '/coverage/')
Point 2: instrumenting is possible but unless you persist the generated files to the file system and pass it to the instrumenter as the file name, HTML report generation will fail since it needs access to the source.
Thanks for your quickly answer.
1) I dont get it well how i can show Client coverage from express. Right now I have some tests with phantoms running and I am getting a .zip file thru /download (on zip file client coverage is OK)
When I run my app (not my tests) I only get server coveragre thru /coverage
What I am doing wrong?
2) There is no way to give the JS that serves Express?
window.__coverage__
object to /client
under the coverage mount path. The server will then accumulate the client coverage as well.Closing this due to lack of activity. Reopen if needed.