Skip to main content
Version: 23.8.0

Coverage.stopCSSCoverage() 方法

¥Coverage.stopCSSCoverage() method

Promise 解析所有样式表的覆盖率报告数组。

¥Promise that resolves to the array of coverage reports for all stylesheets.

签名

¥Signature

class Coverage {
stopCSSCoverage(): Promise<CoverageEntry[]>;
}

Returns:

Promise<CoverageEntry[]>

备注

¥Remarks

CSS Coverage 不包括没有 sourceURL 的动态注入样式标签。

¥CSS Coverage doesn't include dynamically injected style tags without sourceURLs.