update
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import { tap, expect } from '@git.zone/tstest/tapbundle';
|
||||
import * as net from 'net';
|
||||
import { startTestServer, stopTestServer } from '../server.loader.js';
|
||||
import { startTestServer, stopTestServer } from '../../helpers/server.loader.js';
|
||||
import type { SmtpServer } from '../../../ts/mail/delivery/smtpserver/index.js';
|
||||
|
||||
const TEST_PORT = 2525;
|
||||
@ -79,7 +79,7 @@ tap.test('Email Routing - Local domain routing', async (tools) => {
|
||||
if (!completed) {
|
||||
completed = true;
|
||||
console.log('Local domain email routed successfully');
|
||||
expect(true).toBeTrue();
|
||||
expect(true).toEqual(true);
|
||||
|
||||
socket.write('QUIT\r\n');
|
||||
socket.end();
|
||||
@ -162,7 +162,7 @@ tap.test('Email Routing - External domain routing', async (tools) => {
|
||||
if (!completed) {
|
||||
completed = true;
|
||||
console.log('External domain email accepted for relay');
|
||||
expect(true).toBeTrue();
|
||||
expect(true).toEqual(true);
|
||||
|
||||
socket.write('QUIT\r\n');
|
||||
socket.end();
|
||||
@ -246,7 +246,7 @@ tap.test('Email Routing - Multiple recipients', async (tools) => {
|
||||
if (!completed) {
|
||||
completed = true;
|
||||
console.log('Email with multiple recipients routed successfully');
|
||||
expect(true).toBeTrue();
|
||||
expect(true).toEqual(true);
|
||||
|
||||
socket.write('QUIT\r\n');
|
||||
socket.end();
|
||||
@ -504,7 +504,7 @@ tap.test('Email Routing - Subdomain routing', async (tools) => {
|
||||
if (!completed) {
|
||||
completed = true;
|
||||
console.log('Subdomain routing test completed');
|
||||
expect(true).toBeTrue();
|
||||
expect(true).toEqual(true);
|
||||
|
||||
socket.write('QUIT\r\n');
|
||||
socket.end();
|
||||
|
Reference in New Issue
Block a user