This commit is contained in:
2025-05-29 13:24:27 +00:00
parent 30ff3b7d8a
commit af13d3af10
4 changed files with 38 additions and 13 deletions

View File

@ -48,7 +48,8 @@ tap.test('should detect and forward non-TLS connections on useHttpProxy ports',
const mockRouteManager = {
findMatchingRoute: (criteria: any) => ({
route: mockSettings.routes[0]
})
}),
getAllRoutes: () => mockSettings.routes
};
// Mock security manager
@ -141,7 +142,8 @@ tap.test('should handle TLS connections normally', async (tapTest) => {
const mockRouteManager = {
findMatchingRoute: (criteria: any) => ({
route: mockSettings.routes[0]
})
}),
getAllRoutes: () => mockSettings.routes
};
const mockSecurityManager = {