This commit is contained in:
2025-05-24 00:23:35 +00:00
parent 0907949f8a
commit cb52446f65
76 changed files with 1401 additions and 867 deletions

View File

@ -5,7 +5,7 @@ import { startTestServer, stopTestServer } from '../../helpers/server.loader.js'
import type { ITestServer } from '../../helpers/server.loader.js';
// Test configuration
const TEST_PORT = 2525;
const TEST_PORT = 30051;
const TEST_TIMEOUT = 10000;
let testServer: ITestServer;
@ -18,7 +18,7 @@ tap.test('setup - start SMTP server', async () => {
hostname: 'localhost'
});
expect(testServer).toBeTypeOf('object');
expect(testServer).toBeDefined();
expect(testServer.port).toEqual(TEST_PORT);
});
@ -418,6 +418,7 @@ tap.test('teardown - stop SMTP server', async () => {
if (testServer) {
await stopTestServer(testServer);
}
expect(true).toEqual(true);
});
// Start the test