update
This commit is contained in:
@ -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 = {
|
||||
|
Reference in New Issue
Block a user