951002432@qq.com d12880d796 修改代码 %!s(int64=6) %!d(string=hai) anos
..
acroform d12880d796 修改代码 %!s(int64=6) %!d(string=hai) anos
addhtml d12880d796 修改代码 %!s(int64=6) %!d(string=hai) anos
annotations d12880d796 修改代码 %!s(int64=6) %!d(string=hai) anos
autoprint d12880d796 修改代码 %!s(int64=6) %!d(string=hai) anos
init d12880d796 修改代码 %!s(int64=6) %!d(string=hai) anos
pages d12880d796 修改代码 %!s(int64=6) %!d(string=hai) anos
shapes d12880d796 修改代码 %!s(int64=6) %!d(string=hai) anos
text d12880d796 修改代码 %!s(int64=6) %!d(string=hai) anos
utils d12880d796 修改代码 %!s(int64=6) %!d(string=hai) anos
README.md d12880d796 修改代码 %!s(int64=6) %!d(string=hai) anos

README.md

Tests

To run these tests, run:

npm test

To run locally, do:

npm run test-local

Training mode

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.