update
This commit is contained in:
@ -9,7 +9,7 @@ const TEST_TIMEOUT = 30000;
|
||||
let testServer: SmtpServer;
|
||||
|
||||
tap.test('setup - start SMTP server for connection rejection tests', async () => {
|
||||
testServer = await startTestServer();
|
||||
testServer = testServer = await startTestServer({ port: TEST_PORT });
|
||||
await new Promise(resolve => setTimeout(resolve, 1000));
|
||||
});
|
||||
|
||||
@ -290,7 +290,7 @@ tap.test('Connection Rejection - should handle invalid commands gracefully', asy
|
||||
});
|
||||
|
||||
tap.test('cleanup - stop SMTP server', async () => {
|
||||
await stopTestServer();
|
||||
await stopTestServer(testServer);
|
||||
expect(true).toEqual(true);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user