Make the test/connect.js more robust
Make the test/connect.js more robust

test/connect.js will hang if the ICE gathering state transitions to "completed"
without gathering any ICE candidates. This is because we are expecting at least
one ICE candidate; however, when using rtc::kDefaultNetworkIgnoreMask (which
includes ADAPTER_TYPE_LOOPBACK), this can occur when the tests are run offline.

ssaroha/node-webrtc,ssaroha/node-webrtc,ssaroha/node-webrtc,ssaroha/node-webrtc,ssaroha/node-webrtc