Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

Mark HTTP 429 responses as allowed failures in hyperlink check. We sometimes get these from unpkg and it shouldnt block out builds (#4253)

Peter Müllere7add63e733d
diff --git a/package-scripts.js b/package-scripts.js
index 5e0b1736..74060183 100644
--- a/package-scripts.js
+++ b/package-scripts.js
@@ -267,7 +267,7 @@ module.exports = {
},
linkcheck: {
script:
- 'hyperlink -ri --canonicalroot https://mochajs.org --skip ".js.html#line" docs/_site/index.html'
+ 'hyperlink -ri --canonicalroot https://mochajs.org --skip ".js.html#line" docs/_site/index.html --todo "HTTP 429 Too Many Requests"'
},
postbuild: {
script: