(rawHost: string | undefined)
| 108 | |
| 109 | return { |
| 110 | test(rawHost: string | undefined): boolean { |
| 111 | if (!rawHost) return false; |
| 112 | const host = stripPort(rawHost).toLowerCase(); |
| 113 | if (!host) return false; |
| 114 | return testHostname(host); |
| 115 | }, |
| 116 | describe(): string { |
| 117 | const parts = [ |
| 118 | "localhost / 127.0.0.0/8 / [::1]", |
nothing calls this directly
no test coverage detected