fix(smartproxy): Fix route security configuration location and improve ACME timing tests and socket mock implementations
This commit is contained in:
@ -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();
|
Reference in New Issue
Block a user