({ method, params })
| 132 | } |
| 133 | |
| 134 | function verifyLoadingFailed({ method, params }) { |
| 135 | assert.strictEqual(method, 'Network.loadingFailed'); |
| 136 | |
| 137 | assert.ok(params.requestId.startsWith('node-network-event-')); |
| 138 | assert.strictEqual(typeof params.timestamp, 'number'); |
| 139 | assert.strictEqual(params.type, 'Fetch'); |
| 140 | assert.strictEqual(typeof params.errorText, 'string'); |
| 141 | } |
| 142 | |
| 143 | async function testRequest(url) { |
| 144 | const requestWillBeSentFuture = once(session, 'Network.requestWillBeSent') |
no test coverage detected
searching dependent graphs…