()
| 44 | describe("/login", () => { |
| 45 | let _codeServer: httpserver.HttpServer | undefined |
| 46 | function codeServer(): httpserver.HttpServer { |
| 47 | if (!_codeServer) { |
| 48 | throw new Error("tried to use code-server before setting it up") |
| 49 | } |
| 50 | return _codeServer |
| 51 | } |
| 52 | |
| 53 | // Store whatever might be in here so we can restore it afterward. |
| 54 | // TODO: We should probably pass this as an argument somehow instead of |