(verb: string, path: string)
| 57 | } |
| 58 | |
| 59 | private findRoute(verb: string, path: string) { |
| 60 | const key = this.getKey(verb, path); |
| 61 | const route = this.routesWithoutPathVars[key]; |
| 62 | if (route) return createResolvedRoute(route, {}); |
| 63 | else return this.findRouteWithPathVars(verb, path); |
| 64 | } |
| 65 | |
| 66 | list() { |
| 67 | let routes = Object.values(this.routesWithoutPathVars); |
nothing calls this directly
no test coverage detected