function mockRequest(partial = {}) {
  const request = new NetworkRequest();
  return Object.assign(request, partial);
}
@param {Partial<LH.Artifacts.NetworkRequest>=} partial
@return {LH.Artifacts.NetworkRequest}