$ npm test
> php-chrome-html2pdf@1.5.0 test /home/travis/build/spiritix/php-chrome-html2pdf
> ./node_modules/mocha/bin/mocha --timeout=10000 tests/js
Converter
getDefaultOptions
✓ returns an object
getOptions
✓ returns the merged options object
run
1) returns a buffer
2 passing (10s)
1 failing
1) Converter
run
returns a buffer:
Error: Timeout of 10000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/travis/build/spiritix/php-chrome-html2pdf/tests/js/test.js)
npm ERR! Test failed. See above for more details.
The command "npm test" exited with 1.
Some JS tests are failing:
See https://travis-ci.org/github/spiritix/php-chrome-html2pdf/jobs/695030310
The library works fine, must be something related to the tests.