fix(core): update

This commit is contained in:
2019-10-26 23:45:35 +02:00
parent 390e0f7b9e
commit 1244956187
10 changed files with 1440 additions and 429 deletions

View File

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