()
| 72 | } |
| 73 | |
| 74 | get url(): string { |
| 75 | invariant(this._url, 'Failed to access "url" on MockCdn: the server is not running'); |
| 76 | return this._url; |
| 77 | } |
| 78 | |
| 79 | public async listen(options?: FastifyListenOptions): Promise<string> { |
| 80 | const serverUrl = await this.app.listen(options); |
nothing calls this directly
no outgoing calls
no test coverage detected