Updated Contributing (markdown)

Jonas Jenwald 2025-02-21 22:38:13 +01:00
parent c47467dd05
commit c5d8588a18

@ -113,7 +113,7 @@ npx gulp test
If you wish to add a reference test for your patch, you can place the file (`foo.pdf` in this example) in the `test/pdfs` directory and run the following script from the PDF.js root folder to add it to the suite:
```
node test/add_test.js test/pdfs/foo.pdf
node test/add_test.mjs test/pdfs/foo.pdf
```
Note that this script only supports adding `eq` tests for all pages of the PDF file. If you need a different type or page range, you'll need to update the `test/test_manifest.json` file afterwards.