()
| 47 | close: () => server.close(), |
| 48 | waitForCode: async () => { |
| 49 | const poll = () => new Promise<void>((r) => setTimeout(r, 100)); |
| 50 | for (let i = 0; i < 600; i++) { |
| 51 | const lastCode = (server as http.Server & { _lastCode?: string })._lastCode; |
| 52 | if (lastCode) return { code: lastCode }; |
no outgoing calls
no test coverage detected