schoero / swissqrbill

Swiss QR Bill generation in Node.js and browsers
MIT License
155 stars 29 forks source link

Automatic visual PDF testing #387

Closed danielpanero closed 1 year ago

danielpanero commented 1 year ago

I updated run.sh as mentioned in #386 to test if the PDFs are created in the same manner as before.

schoero commented 1 year ago

I decided to use vitest for testing and pdf2json for the snapshot of the PDF files instead.

One of the reasons for that is that it doesn't require the installation of additional native libraries.

Nevertheless, thank you for taking the time to improve this library.