update
This commit is contained in:
@ -93,7 +93,7 @@ tap.test('Extremely Long Lines - should handle lines exceeding RFC 5321 limit',
|
||||
const accepted = finalResponse.includes('250');
|
||||
const rejected = finalResponse.includes('552') || finalResponse.includes('500') || finalResponse.includes('554');
|
||||
|
||||
expect(accepted || rejected).toBeTrue();
|
||||
expect(accepted || rejected).toEqual(true);
|
||||
|
||||
if (accepted) {
|
||||
console.log('Server accepted long line (may wrap internally)');
|
||||
@ -419,7 +419,7 @@ tap.test('Extremely Long Lines - should handle line exactly at RFC limit', async
|
||||
|
||||
tap.test('cleanup - stop SMTP server', async () => {
|
||||
await stopTestServer(testServer);
|
||||
expect(true).toBeTrue();
|
||||
expect(true).toEqual(true);
|
||||
});
|
||||
|
||||
tap.start();
|
Reference in New Issue
Block a user