You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After Sending __coverage__ object from browser to express server running in docker container , istanbul reporter is creating __root__ directory under coverage folder
#173
Open
akki-12345 opened this issue
Sep 23, 2018
· 0 comments
In my angular project, I am able to instrument all typescript files using webpack and istanbul-instrumenter-loader. After this I am sending coverage object to express server running in docker container through POST request.
After receiving coverage object on the server side, I am adding that to the istanbul collector and then I am passing istanbul collector to the istanbul reporter for generating html reports.
But istanbul reporter is creating root directory inside coverage directory. Because of this I am not getting correct HTML reports.
How to avoid the creation of root directory???????
express_server.js:
coverage report:
I am not getting above issue when I am running express server on local machine.
The text was updated successfully, but these errors were encountered:
In my angular project, I am able to instrument all typescript files using webpack and istanbul-instrumenter-loader. After this I am sending coverage object to express server running in docker container through POST request.
After receiving coverage object on the server side, I am adding that to the istanbul collector and then I am passing istanbul collector to the istanbul reporter for generating html reports.
But istanbul reporter is creating root directory inside coverage directory. Because of this I am not getting correct HTML reports.
How to avoid the creation of root directory???????
express_server.js:
coverage report:
I am not getting above issue when I am running express server on local machine.
The text was updated successfully, but these errors were encountered: