mirror of
https://github.com/cypress-io/cypress.git
synced 2026-02-21 06:30:49 -06:00
doc: set timeout of url validator request to 5000ms
This commit is contained in:
@@ -60,7 +60,10 @@ function assertHashIsPresent (descriptor, source, hash, html, tag = 'url') {
|
||||
function validateExternalUrl (href, source) {
|
||||
const { hash } = url.parse(href)
|
||||
|
||||
return request(href)
|
||||
return request({
|
||||
url: href,
|
||||
timeout: 5000,
|
||||
})
|
||||
.then((html) => {
|
||||
// bail if we dont have a hash
|
||||
if (!hash) {
|
||||
|
||||
Reference in New Issue
Block a user