Disable intermittent unit test "creates pdf doc from non-existent URL"

Disable this test so we don't have to manually review unit test
failure log all the time.
This commit is contained in:
Brendan Dahl 2021-03-10 10:38:09 -08:00
parent 3d4bb5e5c5
commit 47a5550f10

View File

@ -169,6 +169,10 @@ describe("api", function () {
});
});
it("creates pdf doc from non-existent URL", function (done) {
if (!isNodeJS) {
// re-enable https://github.com/mozilla/pdf.js/issues/13061
pending("Fails intermittently on linux in browsers.");
}
const loadingTask = getDocument(
buildGetDocumentParams("non-existent.pdf")
);