pdf.js/test/unit
Tim van der Meij fe08ef4e39
Fix var conversions that ESLint could not do automatically
This mainly involves the `crypto_spec.js` file which declared most
variables before their usage, which is not really consistent with the
rest of the codebase. This also required reformatting some long arrays
in that file because otherwise we would exceed the 80 character line
limit. Overall, this makes the code more readable.
2020-10-25 16:17:12 +01:00
..
.eslintrc Disable var usage for the test/unit folder 2020-10-25 15:38:52 +01:00
annotation_spec.js Fallback font for buttons must be ZapfDingbats. 2020-10-24 12:00:03 +02:00
annotation_storage_spec.js confirm if leaving a modified form without saving 2020-08-20 17:23:06 -07:00
api_spec.js Convert var to const/let in the test/unit folder 2020-10-25 15:40:51 +01:00
bidi_spec.js Convert var to const/let in the test/unit folder 2020-10-25 15:40:51 +01:00
cff_parser_spec.js Convert var to const/let in the test/unit folder 2020-10-25 15:40:51 +01:00
clitests_helper.js Use the ESLint no-restricted-syntax rule to ensure that assert is always called with two arguments 2020-05-05 13:40:05 +02:00
clitests.json Save form data in XFA datasets when pdf is a mix of acroforms and xfa (#12344) 2020-09-08 15:13:52 -07:00
cmap_spec.js Convert var to const/let in the test/unit folder 2020-10-25 15:40:51 +01:00
colorspace_spec.js Remove the special handling, used when creating Indexed ColorSpaces, for the case where the lookup-data is a Stream 2020-07-10 17:22:55 +02:00
core_utils_spec.js PDF names need to be escaped when saving 2020-09-10 16:08:13 +02:00
crypto_spec.js Fix var conversions that ESLint could not do automatically 2020-10-25 16:17:12 +01:00
custom_spec.js Convert var to const/let in the test/unit folder 2020-10-25 15:40:51 +01:00
display_svg_spec.js Convert var to const/let in the test/unit folder 2020-10-25 15:40:51 +01:00
display_utils_spec.js Run gulp lint --fix, to account for changes in Prettier version 2.1.x 2020-09-06 12:23:59 +02:00
document_spec.js Add a test for pdfDocument::fieldObjects 2020-10-17 19:48:40 +02:00
encodings_spec.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
evaluator_spec.js Convert var to const/let in the test/unit folder 2020-10-25 15:40:51 +01:00
fetch_stream_spec.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
function_spec.js Convert var to const/let in the test/unit folder 2020-10-25 15:40:51 +01:00
jasmine-boot.js Convert var to const/let in the test/unit folder 2020-10-25 15:40:51 +01:00
message_handler_spec.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
metadata_spec.js Move the isEmptyObj helper function from src/shared/util.js to test/unit/test_utils.js 2020-06-09 17:50:16 +02:00
murmurhash3_spec.js Fix var conversions that ESLint could not do automatically 2020-10-25 16:17:12 +01:00
network_spec.js Fix var conversions that ESLint could not do automatically 2020-10-25 16:17:12 +01:00
network_utils_spec.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
node_stream_spec.js Use the ESLint no-restricted-syntax rule to ensure that assert is always called with two arguments 2020-05-05 13:40:05 +02:00
parser_spec.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
pdf_find_controller_spec.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
pdf_find_utils_spec.js Run gulp lint --fix, to account for changes in Prettier version 2.1.x 2020-09-06 12:23:59 +02:00
pdf_history_spec.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
primitives_spec.js Add support, in Dict.merge, for merging of "sub"-dictionaries 2020-08-30 23:18:32 +02:00
stream_spec.js Convert var to const/let in the test/unit folder 2020-10-25 15:40:51 +01:00
test_utils.js Fix the "should get form info when AcroForm is present" unit-test 2020-10-15 13:26:32 +02:00
testreporter.js Convert var to const/let in the test/unit folder 2020-10-25 15:40:51 +01:00
type1_parser_spec.js Convert var to const/let in the test/unit folder 2020-10-25 15:40:51 +01:00
ui_utils_spec.js Fix var conversions that ESLint could not do automatically 2020-10-25 16:17:12 +01:00
unicode_spec.js Convert var to const/let in the test/unit folder 2020-10-25 15:40:51 +01:00
unit_test.html Replaces RequireJS to SystemJS. 2017-02-27 08:32:39 -06:00
util_spec.js Replace \n and \r by \n and \r when saving a string 2020-09-14 17:34:39 +02:00
writer_spec.js Dict keys need to be escaped too when saving 2020-09-11 12:25:05 +02:00
xml_spec.js Follow-up of pr #12344 2020-09-09 11:46:02 +02:00