Fix skip() error on CI

Apparently you can't call skip() directly from a describe() block.
This commit is contained in:
Abe Jellinek 2024-07-10 14:03:06 -04:00
parent 0b3eda5d82
commit 657d5c4c42

View file

@ -550,7 +550,9 @@ describe("Document Recognition", function() {
});
describe("canUnrecognize()", function () {
if (Zotero.automatedTest) this.skip(); // TODO: Mock services
before(function () {
if (Zotero.automatedTest) this.skip(); // TODO: Mock services
});
async function getRecognizedItem() {
let search;