CI: Proper disabling of BlockingObserver for #3962

This commit is contained in:
Dan Stillman 2024-04-11 06:08:02 -04:00
parent bef389e110
commit 80357b1938

View file

@ -42,8 +42,9 @@ class BlockingObserver {
*/
constructor({ shouldBlock }) {
// TEMP: Disable in CI for now to avoid HTTP request failures
// https://github.com/zotero/zotero/issues/3962
if (Zotero.automatedTest) {
this.shouldBlock = false;
this.shouldBlock = () => false;
return;
}
this.shouldBlock = shouldBlock;