diff --git a/test/font/font_test.html b/test/font/font_test.html index dd361c6990b41..c8b09b700e9c6 100644 --- a/test/font/font_test.html +++ b/test/font/font_test.html @@ -1,7 +1,7 @@ - pdf.js unit test + PDF.js font tests diff --git a/test/font/jasmine-boot.js b/test/font/jasmine-boot.js index e9646db4242de..a8b81ded0964d 100644 --- a/test/font/jasmine-boot.js +++ b/test/font/jasmine-boot.js @@ -40,7 +40,7 @@ "use strict"; -import { TestReporter } from "../unit/testreporter.js"; +import { TestReporter } from "../reporter.js"; async function initializePDFJS(callback) { await Promise.all( diff --git a/test/integration-boot.mjs b/test/integration/jasmine-boot.js similarity index 98% rename from test/integration-boot.mjs rename to test/integration/jasmine-boot.js index 4e04bb6f1f5d6..3dff4d9f0a389 100644 --- a/test/integration-boot.mjs +++ b/test/integration/jasmine-boot.js @@ -13,6 +13,8 @@ * limitations under the License. */ +/* eslint-disable no-console */ + import Jasmine from "jasmine"; async function runTests(results) { diff --git a/test/unit/testreporter.js b/test/reporter.js similarity index 100% rename from test/unit/testreporter.js rename to test/reporter.js diff --git a/test/resources/favicon.ico b/test/resources/favicon.ico index d44438903b751..39040bb937c9e 100644 Binary files a/test/resources/favicon.ico and b/test/resources/favicon.ico differ diff --git a/test/test.mjs b/test/test.mjs index 4d16c8ea1e656..3f031b066df80 100644 --- a/test/test.mjs +++ b/test/test.mjs @@ -806,7 +806,7 @@ async function startIntegrationTest() { onAllSessionsClosed = onAllSessionsClosedAfterTests("integration"); startServer(); - const { runTests } = await import("./integration-boot.mjs"); + const { runTests } = await import("./integration/jasmine-boot.js"); await startBrowsers({ baseUrl: null, initializeSession: session => { diff --git a/test/unit/jasmine-boot.js b/test/unit/jasmine-boot.js index 4c0967dc4bfcc..230a8056172a5 100644 --- a/test/unit/jasmine-boot.js +++ b/test/unit/jasmine-boot.js @@ -42,7 +42,7 @@ import { GlobalWorkerOptions } from "pdfjs/display/worker_options.js"; import { isNodeJS } from "../../src/shared/util.js"; -import { TestReporter } from "./testreporter.js"; +import { TestReporter } from "../reporter.js"; async function initializePDFJS(callback) { await Promise.all( diff --git a/test/unit/unit_test.html b/test/unit/unit_test.html index 29c5c93e93406..15f7fcf61acb9 100644 --- a/test/unit/unit_test.html +++ b/test/unit/unit_test.html @@ -1,7 +1,7 @@ - pdf.js unit test + PDF.js unit tests