Skip to content

Commit

Permalink
Fix the bug that broke the Response.clickLink() test...
Browse files Browse the repository at this point in the history
  • Loading branch information
na-- committed Nov 16, 2021
1 parent 93132f4 commit c6da5bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/modules/k6/http/response.go
Original file line number Diff line number Diff line change
Expand Up @@ -279,5 +279,5 @@ func (res *Response) ClickLink(args ...goja.Value) (*Response, error) {
}
requestURL := responseURL.ResolveReference(hrefURL)

return res.client.Request(http.MethodGet, rt.ToValue(requestURL.String()), requestParams)
return res.client.Request(http.MethodGet, rt.ToValue(requestURL.String()), goja.Undefined(), requestParams)
}

0 comments on commit c6da5bc

Please sign in to comment.