JSCoverage.start() 方法
¥JSCoverage.start() method
签名
¥Signature
class JSCoverage {
start(options?: {
resetOnNavigation?: boolean;
reportAnonymousScripts?: boolean;
includeRawScriptCoverage?: boolean;
useBlockCoverage?: boolean;
}): Promise<void>;
}
参数
¥Parameters
范围 | 类型 | 描述 |
---|---|---|
options | { resetOnNavigation?: boolean; reportAnonymousScripts?: boolean; includeRawScriptCoverage?: boolean; useBlockCoverage?: boolean; } | (可选的) |
Returns:
Promise<void>