fix(smartproxy): Fix route security configuration location and improve ACME timing tests and socket mock implementations

This commit is contained in:
2025-05-29 14:34:00 +00:00
parent e6b3ae395c
commit 32583f784f
8 changed files with 155 additions and 60 deletions

View File

@ -9,9 +9,6 @@ tap.test('should defer certificate provisioning until after ports are listening'
// Create a mock server to verify ports are listening
let port80Listening = false;
const testServer = net.createServer(() => {
// We don't need to handle connections, just track that we're listening
});
// Try to use port 8080 instead of 80 to avoid permission issues in testing
const acmePort = 8080;
@ -204,4 +201,4 @@ tap.test('should have ACME challenge route ready before certificate provisioning
await proxy.stop();
});
tap.start();
export default tap.start();