I have recently started using puppeteer for my frontend project.
Want to run coverage report. Tried using the example in https://github.com/bcoe/puppeteer-to-istanbul-example
But this solution works for static js file as in example.
When I replace the URL with some website URL, it doesn't work.
(node:132032) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open 'D:\Puppeteer\puppeteer-code-coverage-on-google.nyc_output\js\m=sb_wiz,aa,abd,async,dvl,foot,ifl,lu,m,mu,sf,spch,wft,xz7cCd,fEVMic?xjs=s1.js'
Hi,
I have recently started using puppeteer for my frontend project. Want to run coverage report. Tried using the example in https://github.com/bcoe/puppeteer-to-istanbul-example But this solution works for static js file as in example. When I replace the URL with some website URL, it doesn't work.
code -
I get the below error -
My repo link - https://github.com/SwetlinaSatpathy/puppeteer-code-coverage-on-google