feat(RouteManager): Add getAllRoutes API to RouteManager and update test environment to improve timeouts, logging, and cleanup; remove deprecated test files and adjust devDependencies accordingly

This commit is contained in:
2025-05-18 18:08:55 +00:00
parent 61ab1482e3
commit 41f7d09c52
8 changed files with 86 additions and 234 deletions

View File

@ -173,6 +173,13 @@ export class RouteManager extends plugins.EventEmitter {
return this.portMap.get(port) || [];
}
/**
* Get all routes
*/
public getAllRoutes(): IRouteConfig[] {
return [...this.routes];
}
/**
* Test if a pattern matches a domain using glob matching
*/