|
%!s(int64=6) %!d(string=hai) anos | |
---|---|---|
.. | ||
acroform | %!s(int64=6) %!d(string=hai) anos | |
addhtml | %!s(int64=6) %!d(string=hai) anos | |
annotations | %!s(int64=6) %!d(string=hai) anos | |
autoprint | %!s(int64=6) %!d(string=hai) anos | |
init | %!s(int64=6) %!d(string=hai) anos | |
pages | %!s(int64=6) %!d(string=hai) anos | |
shapes | %!s(int64=6) %!d(string=hai) anos | |
text | %!s(int64=6) %!d(string=hai) anos | |
utils | %!s(int64=6) %!d(string=hai) anos | |
README.md | %!s(int64=6) %!d(string=hai) anos |
To run these tests, run:
npm test
To run locally, do:
npm run test-local
If a reference PDF doesn't exist it will be created if you run this command while the tests run:
node tests/utils/reference-server.js
This generates and collects reference PDFs from real browsers. This should be done before refactoring a plugin or component to ensure output is exactly identical.
This will in future also allow us to create reference images to compare against visually.