({ method, params })
| 195 | } |
| 196 | |
| 197 | function verifyLoadingFailed({ method, params }) { |
| 198 | assert.strictEqual(method, 'Network.loadingFailed'); |
| 199 | |
| 200 | assert.ok(params.requestId.startsWith('node-network-event-')); |
| 201 | assert.strictEqual(typeof params.timestamp, 'number'); |
| 202 | assert.strictEqual(params.type, 'Other'); |
| 203 | assert.strictEqual(typeof params.errorText, 'string'); |
| 204 | } |
| 205 | |
| 206 | async function testHttp2(secure = false) { |
| 207 | const port = (secure ? http2SecureServer : http2Server).address().port; |
no test coverage detected
searching dependent graphs…