feat(tests): fully implemented test suite

This commit is contained in:
2025-05-26 05:16:32 +00:00
parent 1d52ce1211
commit 113ae22c42
40 changed files with 3747 additions and 37 deletions

View File

@ -1,4 +1,4 @@
import { tap, expect } from '@push.rocks/tapbundle';
import { tap, expect } from '@git.zone/tstest/tapbundle';
import { EInvoice } from '../../../ts/index.js';
import { InvoiceFormat } from '../../../ts/interfaces/common.js';
import { FormatDetector } from '../../../ts/formats/utils/format.detector.js';

View File

@ -105,7 +105,7 @@ tap.test('FD-03: ZUGFeRD XML Extraction - should extract XML from ZUGFeRD PDFs',
);
console.log(`${path.basename(filePath)}: XML extraction ${hasXml ? 'successful' : 'failed'}`);
expect(hasXml).toBe(true);
expect(hasXml).toBeTrue();
} catch (error) {
console.log(`${path.basename(filePath)}: Error - ${error.message}`);
}