()
| 130 | // oxlint-disable-next-line no-useless-constructor |
| 131 | constructor(_url: URL, _opts?: any) {} |
| 132 | async start() { |
| 133 | if (connectShouldHang) return new Promise<void>(() => {}) // never resolves |
| 134 | if (connectShouldFail) throw new Error(connectError) |
| 135 | } |
| 136 | async close() { |
| 137 | transportCloseCount++ |
| 138 | } |