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 = 60000; // Longer timeout for keepalive tests
|
||||
@ -211,7 +211,7 @@ tap.test('Keepalive - should detect connection loss', async (tools) => {
|
||||
await new Promise(resolve => setTimeout(resolve, 10000));
|
||||
|
||||
// Connection should be detected as lost
|
||||
expect(connectionLost).toBeTrue();
|
||||
expect(connectionLost).toEqual(true);
|
||||
console.log('Keepalive detected connection loss');
|
||||
|
||||
} finally {
|
||||
|
Reference in New Issue
Block a user