Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Comments

@akki-12345
Copy link

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:

server

coverage report:
coverage_report1

coverage_report2

I am not getting above issue when I am running express server on local machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants