pdf.js/test/unit/clitests.json
Jonas Jenwald ae04cf1c37 Enable running the ui_utils unit-tests on Travis
With the exception of just one test-case, all the current `ui_utils` unit-tests can run successfully on Node.js (since most of them doesn't rely on the DOM).

To get this working, I had to first of all add a new `LIB` build flag such that `gulp lib` produces a `web/pdfjs.js` file that is able to load `pdf.js` successfully.
Second of all, since neither `document` nor `navigator` is available in Node.js, `web/ui_utils.js` was adjusted slightly to avoid errors.
2017-04-25 13:37:56 +02:00

24 lines
487 B
JSON

{
"spec_dir": "build/lib/test/unit",
"spec_files": [
"annotation_spec.js",
"bidi_spec.js",
"cff_parser_spec.js",
"cmap_spec.js",
"crypto_spec.js",
"document_spec.js",
"dom_utils_spec.js",
"evaluator_spec.js",
"fonts_spec.js",
"function_spec.js",
"murmurhash3_spec.js",
"parser_spec.js",
"primitives_spec.js",
"stream_spec.js",
"type1_parser_spec.js",
"ui_utils_spec.js",
"unicode_spec.js",
"util_spec.js"
]
}