smartmail/test/test.ts
2019-10-26 23:45:35 +02:00

14 lines
358 B
TypeScript

import { expect, tap } from '@pushrocks/tapbundle';
import * as smartmail from '../ts/index';
tap.test('first test', async () => {
const testSmartmail = new smartmail.Smartmail({
body: 'hi there',
from: 'noreply@mail.lossless.com',
subject: 'hi from here'
});
expect(testSmartmail).to.be.instanceof(smartmail.Smartmail);
});
tap.start();