BREAKING CHANGE(core): switch to esm
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
import { expect, tap } from '@pushrocks/tapbundle';
|
||||
import * as smartsmtp from '../ts/index';
|
||||
import * as smartsmtp from '../ts/index.js';
|
||||
|
||||
import { Qenv } from '@pushrocks/qenv';
|
||||
import * as smartmail from '@pushrocks/smartmail';
|
||||
@ -14,7 +14,7 @@ tap.test('should create a valid instance of Smartsmtp', async () => {
|
||||
smtpUser: testQenv.getEnvVarOnDemand('SMTP_USER'),
|
||||
smtpPassword: testQenv.getEnvVarOnDemand('SMTP_PASSWORD'),
|
||||
});
|
||||
expect(testSmartsmtp).to.be.instanceOf(smartsmtp.Smartsmtp);
|
||||
expect(testSmartsmtp).toBeInstanceOf(smartsmtp.Smartsmtp);
|
||||
});
|
||||
|
||||
tap.test('should send a message with empty body', async () => {
|
||||
|
Reference in New Issue
Block a user