(res, socket, head)
| 119 | } |
| 120 | |
| 121 | function onUpgrade(res, socket, head) { |
| 122 | // Hacky. |
| 123 | process.nextTick(() => { |
| 124 | onConnect(res, socket, head); |
| 125 | }); |
| 126 | } |
| 127 | |
| 128 | function onConnect(res, socket, header) { |
| 129 | assert.strictEqual(res.statusCode, 200); |
nothing calls this directly
no test coverage detected