(tag: string)
| 61 | |
| 62 | /** A stand-in net.Server — bindFirstUsableSocket only ever passes it through. */ |
| 63 | const fakeServer = (tag: string): net.Server => ({ tag } as unknown as net.Server); |
| 64 | |
| 65 | /** Build an ErrnoException carrying a specific code, like a real listen() error. */ |
| 66 | function errno(code: string): NodeJS.ErrnoException { |
no outgoing calls
no test coverage detected