()
| 30 | } |
| 31 | |
| 32 | async function test() { |
| 33 | const instance = new NodeInstance('--inspect-brk=0.0.0.0:0'); |
| 34 | try { |
| 35 | checkIpAddress(ip, await instance.httpGet(ip, '/json/list')); |
| 36 | } catch (error) { |
| 37 | if (error.code === 'EHOSTUNREACH') { |
| 38 | common.printSkipMessage('Unable to connect to self'); |
| 39 | } else { |
| 40 | throw error; |
| 41 | } |
| 42 | } |
| 43 | instance.kill(); |
| 44 | } |
| 45 | |
| 46 | test().then(common.mustCall()); |
no test coverage detected
searching dependent graphs…