()
| 110 | |
| 111 | |
| 112 | def get_tunnels() -> list[dict[str, Any]]: |
| 113 | response = ngrok_api_get("/tunnels") |
| 114 | if not response: |
| 115 | return [] |
| 116 | return response.get("tunnels", []) |
| 117 | |
| 118 | |
| 119 | def tunnel_matches_port(tunnel: dict[str, Any], port: int) -> bool: |
no test coverage detected