ocavue / jest-puppeteer-istanbul

Collect code coverage information from end-to-end jest puppeteer tests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wondering why js coverage of jest-puppeteer case cannot be collected

lastnigtic opened this issue · comments

thanks for provide this tool!
I'm using rollup to pack my page and start the server.
Already using the plugin with rollup-plugin-babel
babel({ plugins: ["istanbul"] })
Also adding the necessary configs to my jest, but the coverage report still missing some coverage.
Is there a way to know where I am doing wrong?

Thanks!

I know why I can't get the right coverage.
That's because I'm using typescript. So I need add extensions config to babel.

great tool! thanks again!