()
| 337 | |
| 338 | const peerUrl = `http://127.0.0.1:${peerPort}`; |
| 339 | const connect = async () => { |
| 340 | const res = await postJson(`http://127.0.0.1:${port}/connect`, { url: peerUrl }); |
| 341 | expect(res.statusCode).toBe(200); |
| 342 | }; |
| 343 | |
| 344 | await connect(); |
| 345 | // Wait for the first WS to actually attach on the peer side before |
no test coverage detected