smartmail/test/test.ts

14 lines
358 B
TypeScript
Raw Normal View History

2018-09-29 21:57:25 +00:00
import { expect, tap } from '@pushrocks/tapbundle';
import * as smartmail from '../ts/index';
tap.test('first test', async () => {
2019-10-26 21:45:35 +00:00
const testSmartmail = new smartmail.Smartmail({
body: 'hi there',
from: 'noreply@mail.lossless.com',
subject: 'hi from here'
});
2018-09-29 21:57:25 +00:00
expect(testSmartmail).to.be.instanceof(smartmail.Smartmail);
});
tap.start();