Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
method Coverage.prototype.startJSCoverage
import { Coverage } from "https://deno.land/x/pptr@1.2.0/src/Coverage.ts";

Parameters

optional
options: JSCoverageOptions = [UNSUPPORTED]
  • defaults to { resetOnNavigation : true, reportAnonymousScripts : false }

Returns

Promise<void>

Promise that resolves when coverage is started.