dcfec6dbbd
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
23 lines
2.2 KiB
Markdown
23 lines
2.2 KiB
Markdown
---
|
|
sidebar_label: JSCoverageOptions
|
|
---
|
|
|
|
# JSCoverageOptions interface
|
|
|
|
Set of configurable options for JS coverage.
|
|
|
|
#### Signature:
|
|
|
|
```typescript
|
|
export interface JSCoverageOptions
|
|
```
|
|
|
|
## Properties
|
|
|
|
| Property | Modifiers | Type | Description | Default |
|
|
| -------------------------------------------------------------------------------------- | --------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------- |
|
|
| [includeRawScriptCoverage?](./puppeteer.jscoverageoptions.includerawscriptcoverage.md) | | boolean | _(Optional)_ Whether the result includes raw V8 script coverage entries. | |
|
|
| [reportAnonymousScripts?](./puppeteer.jscoverageoptions.reportanonymousscripts.md) | | boolean | _(Optional)_ Whether anonymous scripts generated by the page should be reported. | |
|
|
| [resetOnNavigation?](./puppeteer.jscoverageoptions.resetonnavigation.md) | | boolean | _(Optional)_ Whether to reset coverage on every navigation. | |
|
|
| [useBlockCoverage?](./puppeteer.jscoverageoptions.useblockcoverage.md) | | boolean | _(Optional)_ Whether to collect coverage information at the block level. If true, coverage will be collected at the block level (this is the default). If false, coverage will be collected at the function level. | |
|