xinvoice/test/test.ts

11 lines
292 B
TypeScript
Raw Normal View History

2024-04-22 14:30:55 +00:00
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