Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/sinco/deps.ts>Protocol.Profiler.FunctionCoverage

Browser Automation and Testing Tool for Deno, written in full TypeScript
Latest
interface Protocol.Profiler.FunctionCoverage
import { type Protocol } from "https://deno.land/x/sinco@v4.1.0/deps.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.