FAIL unit tests/unit/pdfUtils.spec.ts
● Test suite failed to run
tests/unit/pdfUtils.spec.ts:16:46 - error TS2339: Property 'getVehicleLicense' does not exist on type 'DocumentsGenerator'.
16 const validVehicleLicense = testKit.docs.getVehicleLicense()
~~~~~~~~~~~~~~~~~
tests/unit/pdfUtils.spec.ts:17:45 - error TS2339: Property 'getStudentCard' does not exist on type 'DocumentsGenerator'.
17 const validStudentIdCard = testKit.docs.getStudentCard()
~~~~~~~~~~~~~~
tests/unit/pdfUtils.spec.ts:19:47 - error TS2339: Property 'getResidencePermit' does not exist on type 'DocumentsGenerator'.
19 const validResidencePermit = testKit.docs.getResidencePermit({ registration: 'City\nStreet' })
~~~~~~~~~~~~~~~~~~
tests/unit/pdfUtils.spec.ts:21:60 - error TS2339: Property 'getRefInternallyDisplacedPerson' does not exist on type 'DocumentsGenerator'.
21 const validRefInternallyDisplacedPerson = testKit.docs.getRefInternallyDisplacedPerson()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/pdfUtils.spec.ts:22:48 - error TS2339: Property 'getBirthCertificate' does not exist on type 'DocumentsGenerator'.
22 const validBirthCertificate = testKit.docs.getBirthCertificate({
~~~~~~~~~~~~~~~~~~~
tests/unit/pdfUtils.spec.ts:27:43 - error TS2339: Property 'getPensionCard' does not exist on type 'DocumentsGenerator'.
27 const validPensionCard = testKit.docs.getPensionCard()
~~~~~~~~~~~~~~
tests/unit/pdfUtils.spec.ts:1011:68 - error TS7031: Binding element 'serieNumber' implicitly has an 'any' type.
1011 ...validBirthCertificate.documents!.map(({ serieNumber, issueDate }) => {
~~~~~~~~~~~
tests/unit/pdfUtils.spec.ts:1011:81 - error TS7031: Binding element 'issueDate' implicitly has an 'any' type.
1011 ...validBirthCertificate.documents!.map(({ serieNumber, issueDate }) => {
~~~~~~~~~
я запустив тести і отримав ось цю помилку 1 тесту