(port: number)
| 9 | } |
| 10 | |
| 11 | export async function handshake(port: number) { |
| 12 | const res = await fetch(url(port)); |
| 13 | expect(res.status).to.eql(200); |
| 14 | |
| 15 | const body1 = await res.text(); |
| 16 | return JSON.parse(body1.substring(1)).sid; |
| 17 | } |
no test coverage detected