From 66507ccae8aa55792d306ca350443d6b95d67b42 Mon Sep 17 00:00:00 2001 From: Tim van der Meij Date: Sun, 10 Sep 2023 15:44:07 +0200 Subject: [PATCH] Enable unit test "creates pdf doc from non-existent URL" The unit test is re-enabled because it no longer seems to fail after 10 runs on Linux where this used to fail often. Code inspection also shows that the code is correct and should raise the previous exception (anymore). Finally, a lot has changed since this test was disabled such as new Jasmine versions, new Linux bot OS version and new browser versions. --- test/unit/api_spec.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/unit/api_spec.js b/test/unit/api_spec.js index 8cbd5801f..0ad48ec99 100644 --- a/test/unit/api_spec.js +++ b/test/unit/api_spec.js @@ -268,10 +268,6 @@ describe("api", function () { }); it("creates pdf doc from non-existent URL", async function () { - if (!isNodeJS) { - // Re-enable in https://github.com/mozilla/pdf.js/issues/13061. - pending("Fails intermittently on Linux in browsers."); - } const loadingTask = getDocument( buildGetDocumentParams("non-existent.pdf") );