apollo_developers/bower_components/jsPDF/tests/README.md
venbatechnologies@gmail.com 1809bcf9c9 fixed table for student details
2018-04-23 18:34:11 +05:30

32 lines
533 B
Markdown
Executable File

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.