This commit is contained in:
2025-05-23 21:20:39 +00:00
parent 9629329bc2
commit 0907949f8a
86 changed files with 654 additions and 569 deletions

View File

@ -1,6 +1,6 @@
import { tap, expect } from '@git.zone/tstest/tapbundle';
import * as net from 'net';
import { startTestServer, stopTestServer, type ITestServer } from '../server.loader.js';
import { startTestServer, stopTestServer, type ITestServer } from '../../helpers/server.loader.js';
const TEST_PORT = 2525;
const TEST_TIMEOUT = 30000;
@ -25,7 +25,7 @@ tap.test('Plain Connection - should establish basic TCP connection', async (tool
setTimeout(() => resolve(false), 5000);
});
expect(connected).toBeTrue();
expect(connected).toEqual(true);
if (connected) {
console.log('Plain connection established:');
@ -279,7 +279,7 @@ tap.test('Plain Connection - should work on standard SMTP port 25', async (tools
}
// Test passes regardless - port 25 connectivity is environment-dependent
expect(true).toBeTrue();
expect(true).toEqual(true);
done.resolve();
});