fix(core): update
This commit is contained in:
@ -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);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user