1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 15:18:08 +02:00

Run the PDF.js-viewer API unit-test in Node.js environments (PR 16592 follow-up)

It occurred to me that we can actually run this unit-test in Node.js environments by making use of the preprocessor to stub out the browser globals there.
This commit is contained in:
Jonas Jenwald 2023-06-26 09:30:13 +02:00
parent ccb72073b0
commit 5f5db4b160
4 changed files with 15 additions and 5 deletions

View file

@ -36,6 +36,7 @@
"pdf_find_utils_spec.js",
"pdf_history_spec.js",
"pdf_spec.js",
"pdf_viewer.component_spec.js",
"pdf_viewer_spec.js",
"primitives_spec.js",
"stream_spec.js",