pdf.js/test/unit
Rob Wu d253889d97 __non_webpack_require__ -> require in SystemJS
When running browser tests, e.g. via `gulp unittest`, the test files are not
processed by babel, and neither by the "unittestcli" gulp target.

This commit copies the babelPluginReplaceNonWebPackRequire plugin from the
unittestcli target to the SystemJS config so that `__non_webpack_require__` is
replaced with `require` for all build targets, and adds a unit test to ensure
that this indeed works as expected.
2017-08-15 12:14:30 +02:00
..
annotation_spec.js Move the XRefMock in the unit tests to a central location 2017-07-29 15:16:19 +02:00
api_spec.js [api-minor] Add support for PageMode in the API (issue 8657) 2017-07-19 16:40:03 +02:00
bidi_spec.js Convert the files in the /test/unit folder to ES6 modules 2017-04-30 00:34:02 +02:00
cff_parser_spec.js Fixes CFF data glyph widths 2017-07-25 12:29:51 -05:00
clitests.json Add unit-tests for colorspace.js 2017-07-28 14:24:56 +05:30
cmap_spec.js Enable the object-shorthand ESLint rule 2017-04-30 11:13:34 +02:00
colorspace_spec.js Move the XRefMock in the unit tests to a central location 2017-07-29 15:16:19 +02:00
crypto_spec.js Convert the files in the /test/unit folder to ES6 modules 2017-04-30 00:34:02 +02:00
custom_spec.js Fix inconsistent spacing and trailing commas in objects in test/ files, so we can enable the comma-dangle and object-curly-spacing ESLint rules later on 2017-06-02 13:04:04 +02:00
display_svg_spec.js __non_webpack_require__ -> require in SystemJS 2017-08-15 12:14:30 +02:00
document_spec.js Convert the files in the /test/unit folder to ES6 modules 2017-04-30 00:34:02 +02:00
dom_utils_spec.js Convert the files in the /test/unit folder to ES6 modules 2017-04-30 00:34:02 +02:00
evaluator_spec.js Move the XRefMock in the unit tests to a central location 2017-07-29 15:16:19 +02:00
fonts_spec.js Enable the object-shorthand ESLint rule 2017-04-30 11:13:34 +02:00
function_spec.js Fix inconsistent spacing and trailing commas in objects in test/ files, so we can enable the comma-dangle and object-curly-spacing ESLint rules later on 2017-06-02 13:04:04 +02:00
jasmine-boot.js Add unit-tests for colorspace.js 2017-07-28 14:24:56 +05:30
metadata_spec.js Convert the files in the /test/unit folder to ES6 modules 2017-04-30 00:34:02 +02:00
murmurhash3_spec.js Convert the files in the /test/unit folder to ES6 modules 2017-04-30 00:34:02 +02:00
network_spec.js Adds Streams API support for networking task of PDF.js project. 2017-07-28 02:32:30 +05:30
parser_spec.js Ignore line-breaks between operator and digit in Lexer.getNumber 2017-05-02 20:59:42 +02:00
primitives_spec.js Move the XRefMock in the unit tests to a central location 2017-07-29 15:16:19 +02:00
stream_spec.js Fix inconsistent spacing and trailing commas in objects in test/ files, so we can enable the comma-dangle and object-curly-spacing ESLint rules later on 2017-06-02 13:04:04 +02:00
test_utils.js Move the XRefMock in the unit tests to a central location 2017-07-29 15:16:19 +02:00
testreporter.js Enable the object-shorthand ESLint rule 2017-04-30 11:13:34 +02:00
type1_parser_spec.js Fix inconsistent spacing and trailing commas in objects in test/ files, so we can enable the comma-dangle and object-curly-spacing ESLint rules later on 2017-06-02 13:04:04 +02:00
ui_utils_spec.js Convert the files in the /test/unit folder to ES6 modules 2017-04-30 00:34:02 +02:00
unicode_spec.js Convert the files in the /test/unit folder to ES6 modules 2017-04-30 00:34:02 +02:00
unit_test.html Replaces RequireJS to SystemJS. 2017-02-27 08:32:39 -06:00
util_spec.js Added sendWithStream method in MessageHandler. 2017-06-07 21:05:27 +05:30
util_stream_spec.js Adds ready capability rejection logic for stream sink. 2017-07-25 02:07:38 +05:30