fix(build): enforce stricter TypeScript checks and update build dependencies
This commit is contained in:
@@ -153,6 +153,9 @@ tap.test('isLocalPortUnused should detect used local port', async () => {
|
||||
// findFreePort tests
|
||||
tap.test('findFreePort should find an available port in range', async () => {
|
||||
const freePort = await sharedSn.findFreePort(49152, 49200);
|
||||
if (freePort === null) {
|
||||
throw new Error('Expected to find a free port in test range');
|
||||
}
|
||||
expect(freePort).toBeGreaterThanOrEqual(49152);
|
||||
expect(freePort).toBeLessThanOrEqual(49200);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user