vbuch / node-signpdf

Simple signing of PDFs in node.
MIT License
711 stars 178 forks source link

:white_check_mark: update test to use correct API for existing form #215

Closed dhensby closed 10 months ago

dhensby commented 10 months ago

The current tests for pdfkit 0.11+ didn't use the latest API for initiating the AcroForm, which lead to the test not acting as expected and a coverage requirement not being met.

This uses the correct API to create the AcroForm and brings the code coverage up to 100% of branches/lines