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