Closed eamon0989 closed 2 years ago
@eamon0989 Just need to fix the tests for the PDF and HTML generators and good to merge.
As you might have noticed when running the tests in the CI runner, there is that warning :
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
...
Could you maybe run that command to update the supported browsers list and push the changed files ?
@eamon0989 Just need to fix the tests for the PDF and HTML generators and good to merge.
As you might have noticed when running the tests in the CI runner, there is that warning :
Browserslist: caniuse-lite is outdated. Please run: npx browserslist@latest --update-db ...
Could you maybe run that command to update the supported browsers list and push the changed files ?
Will do 👍🏼
Kudos, SonarCloud Quality Gate passed!
Description
This PR adds support for EN10168 v0.3.0. The main change is allowing
createInspection
to accept arrays of inspection objects as well as inspection objects. Added fixtures for v0.3.0. Added test for v0.3.0 PDF creation (commented out until the schema is released). Fixed a bug where PDFs wouldn't render when aSupplementaryInformation
object was no present on some inspection properties (Issue 156) Fixes a bug where an empty row was added to the PDF when supplementary information was not provided (Issue 158).Type of change
Checklist: