File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -4299,9 +4299,11 @@ const v8toIstanbul = require('v8-to-istanbul');
4299
4299
#### chromiumCoverage.stopJSCoverage()
4300
4300
- returns: <[ Promise] <[ Array] <[ Object] >>> Promise that resolves to the array of coverage reports for all scripts
4301
4301
- ` url ` <[ string] > Script URL
4302
+ - ` scriptId ` <[ string] > Script ID
4302
4303
- ` source ` <[ string] > Script content, if applicable.
4303
4304
- ` functions ` <[ Array] <[ Object] >> V8-specific coverage format.
4304
4305
- ` functionName ` <[ string] >
4306
+ - ` isBlockCoverage ` <[ boolean] >
4305
4307
- ` ranges ` <[ Array] <[ Object] >>
4306
4308
- ` count ` <[ number] >
4307
4309
- ` startOffset ` <[ number] >
Original file line number Diff line number Diff line change @@ -149,9 +149,11 @@ export type CSSCoverageEntry = {
149
149
150
150
export type JSCoverageEntry = {
151
151
url : string ,
152
+ scriptId : string ,
152
153
source ?: string ,
153
154
functions : {
154
155
functionName : string ,
156
+ isBlockCoverage : boolean ,
155
157
ranges : JSRange [ ]
156
158
} [ ]
157
159
} ;
You can’t perform that action at this time.
0 commit comments