update
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
import * as plugins from '@git.zone/tstest/tapbundle';
|
||||
import { expect, tap } from '@git.zone/tstest/tapbundle';
|
||||
import * as net from 'net';
|
||||
import { startTestServer, stopTestServer } from '../server.loader.js';
|
||||
import { startTestServer, stopTestServer } from '../../helpers/server.loader.js';
|
||||
|
||||
const TEST_PORT = 2525;
|
||||
|
||||
@ -120,7 +120,7 @@ tap.test('ERR-07: Exception handling - Invalid commands', async (tools) => {
|
||||
console.log('Server still responding:', serverStillResponding);
|
||||
|
||||
// Test passes if exceptions were handled OR server is still responding
|
||||
expect(exceptionHandled || serverStillResponding).toBeTrue();
|
||||
expect(exceptionHandled || serverStillResponding).toEqual(true);
|
||||
|
||||
if (socket.writable) {
|
||||
socket.write('QUIT\r\n');
|
||||
|
Reference in New Issue
Block a user