apollo_developers/bower_components/jsPDF/tests
saravanakumar_kandasami a11795c215 SIT code
2018-04-19 18:17:06 +05:30
..
acroform SIT code 2018-04-19 18:17:06 +05:30
addhtml SIT code 2018-04-19 18:17:06 +05:30
annotations SIT code 2018-04-19 18:17:06 +05:30
autoprint SIT code 2018-04-19 18:17:06 +05:30
init SIT code 2018-04-19 18:17:06 +05:30
pages SIT code 2018-04-19 18:17:06 +05:30
shapes SIT code 2018-04-19 18:17:06 +05:30
text SIT code 2018-04-19 18:17:06 +05:30
utils SIT code 2018-04-19 18:17:06 +05:30
README.md SIT code 2018-04-19 18:17:06 +05:30

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.