(path: string)
| 42 | } |
| 43 | |
| 44 | getRoute(path: string) { |
| 45 | if (!this.#routes[path]) { |
| 46 | throw new Error(`Route ${path} was not setup.`); |
| 47 | } |
| 48 | return `${this.baseUrl}${path}`; |
| 49 | } |
| 50 | |
| 51 | addHtmlRoute(path: string, htmlContent: string) { |
| 52 | if (this.#routes[path]) { |
no outgoing calls
no test coverage detected