Fix a bug in websocket-test.js referencing done() not declared in test() function signature, was causing failure of subsequent test suite, due to mocha's enveloped exception handling style

This commit is contained in:
Nicholas Dudfield
2013-10-24 12:15:49 +07:00
committed by Vinnie Falco
parent 3b19310252
commit aabd6980ac
3 changed files with 7 additions and 4 deletions

View File

@@ -28,7 +28,7 @@ suite('WebSocket connection', function() {
}
});
test('WebSocket connect and disconnect', function() {
test('WebSocket connect and disconnect', function(done) {
var alpha = Remote.from_config("alpha");
alpha.on('connected', function () {