()
| 33 | } |
| 34 | |
| 35 | function stopIfIdle() { |
| 36 | if (pendingAuths.size > 0 || !server) return |
| 37 | |
| 38 | server.close() |
| 39 | server = undefined |
| 40 | } |
| 41 | |
| 42 | function handleRequest(req: import("http").IncomingMessage, res: import("http").ServerResponse) { |
| 43 | const url = new URL(req.url || "/", `http://localhost:${currentPort}`) |
no test coverage detected