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, 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();
|
||||
});
|
||||
|
Reference in New Issue
Block a user