Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface Protocol.Profiler.FunctionCoverage
import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { FunctionCoverage } = Protocol.Profiler;

Coverage data for a JavaScript function.

Properties

functionName: string

JavaScript function name.

ranges: CoverageRange[]

Source ranges inside the function with coverage data.

isBlockCoverage: boolean

Whether coverage data for this function has block granularity.