feat(tests): fully implemented test suite
This commit is contained in:
@ -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';
|
||||
|
@ -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}`);
|
||||
}
|
||||
|
Reference in New Issue
Block a user