puppeteer/test/assets/jscoverage/eval.html
Pavel Pomerantsev 12bc1e1a62 feat(coverage): add an option to collect coverage of anonymous scripts (#2796)
This patch adds `reportAnonymousScripts` option to the `coverage.startJSCoverage` method. With this option, anonymous scripts are reported as well.

Fixes #2777
2018-07-11 18:38:34 -07:00

2 lines
44 B
HTML

<script>eval('console.log("foo")')</script>