update
This commit is contained in:
@ -4,7 +4,7 @@ import * as plugins from '../ts/plugins.js';
|
||||
import DcRouter from '../ts/classes.dcrouter.js';
|
||||
import { EmailService } from '../ts/mail/services/classes.emailservice.js';
|
||||
import { BounceManager } from '../ts/mail/core/classes.bouncemanager.js';
|
||||
import { SmtpClient } from '../ts/mail/delivery/classes.smtp.client.js';
|
||||
import { smtpClientMod } from '../ts/mail/delivery/index.js';
|
||||
import { SmtpServer } from '../ts/mail/delivery/smtpserver/smtp-server.js';
|
||||
|
||||
// Test the new integration architecture
|
||||
@ -83,7 +83,7 @@ tap.test('SMTP client should be able to connect to SMTP server', async (tools) =
|
||||
socketTimeout: 5000
|
||||
};
|
||||
|
||||
const smtpClient = new SmtpClient(options);
|
||||
const smtpClient = smtpClientMod.createSmtpClient(options);
|
||||
|
||||
// Verify it was created properly
|
||||
expect(smtpClient).toBeTruthy();
|
||||
|
Reference in New Issue
Block a user