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.