mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
90 lines
792 B
Markdown
90 lines
792 B
Markdown
|
---
|
||
|
sidebar_label: CoverageEntry
|
||
|
---
|
||
|
|
||
|
# CoverageEntry interface
|
||
|
|
||
|
The CoverageEntry class represents one entry of the coverage report.
|
||
|
|
||
|
#### Signature:
|
||
|
|
||
|
```typescript
|
||
|
export interface CoverageEntry
|
||
|
```
|
||
|
|
||
|
## Properties
|
||
|
|
||
|
<table><thead><tr><th>
|
||
|
|
||
|
Property
|
||
|
|
||
|
</th><th>
|
||
|
|
||
|
Modifiers
|
||
|
|
||
|
</th><th>
|
||
|
|
||
|
Type
|
||
|
|
||
|
</th><th>
|
||
|
|
||
|
Description
|
||
|
|
||
|
</th><th>
|
||
|
|
||
|
Default
|
||
|
|
||
|
</th></tr></thead>
|
||
|
<tbody><tr><td>
|
||
|
|
||
|
ranges
|
||
|
|
||
|
</td><td>
|
||
|
|
||
|
</td><td>
|
||
|
|
||
|
Array<{ start: number; end: number; }>
|
||
|
|
||
|
</td><td>
|
||
|
|
||
|
The covered range as start and end positions.
|
||
|
|
||
|
</td><td>
|
||
|
|
||
|
</td></tr>
|
||
|
<tr><td>
|
||
|
|
||
|
text
|
||
|
|
||
|
</td><td>
|
||
|
|
||
|
</td><td>
|
||
|
|
||
|
string
|
||
|
|
||
|
</td><td>
|
||
|
|
||
|
The content of the style sheet or script.
|
||
|
|
||
|
</td><td>
|
||
|
|
||
|
</td></tr>
|
||
|
<tr><td>
|
||
|
|
||
|
url
|
||
|
|
||
|
</td><td>
|
||
|
|
||
|
</td><td>
|
||
|
|
||
|
string
|
||
|
|
||
|
</td><td>
|
||
|
|
||
|
The URL of the style sheet or script.
|
||
|
|
||
|
</td><td>
|
||
|
|
||
|
</td></tr>
|
||
|
</tbody></table>
|