function mockRequest(partial) {
  return {
    url: 'https://example.com',
    documentURL: 'https://example.com',
    finished: true,
    frameId: 'frameId',
    isSecure: true,
    isValid: true,
    parsedURL: {scheme: 'https', host: 'example.com', securityOrigin: 'https://example.com'},
    protocol: 'http/1.1',
    requestMethod: 'GET',
    resourceType: 'Document',
    ...partial,
  };
}
@param {Partial<LH.Artifacts.NetworkRequest>=} partial
@return {Partial<LH.Artifacts.NetworkRequest>}