11 lines
292 B
TypeScript
11 lines
292 B
TypeScript
import { tap, expect } from '@push.rocks/tapbundle';
|
|
|
|
import * as xinvoice from '../ts/index.js';
|
|
|
|
tap.test('XInvoice should correctly embed XML into a PDF', async (tools) => {
|
|
const xInvoice = new xinvoice.XInvoice('');
|
|
await xInvoice.embedXml();
|
|
});
|
|
|
|
tap.start(); // Run the test suite
|