mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 02:55:50 +00:00
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:
committed by
Vinnie Falco
parent
3b19310252
commit
aabd6980ac
@@ -1 +1,5 @@
|
|||||||
--reporter spec --compilers coffee:coffee-script --ui tdd --timeout 10000 --slow 600
|
--reporter spec
|
||||||
|
--compilers coffee:coffee-script
|
||||||
|
--ui tdd
|
||||||
|
--timeout 10000
|
||||||
|
--slow 600
|
||||||
@@ -2,4 +2,3 @@
|
|||||||
|
|
||||||
# flags set in mocha.opts
|
# flags set in mocha.opts
|
||||||
mocha test/*-test.{js,coffee}
|
mocha test/*-test.{js,coffee}
|
||||||
|
|
||||||
|
|||||||
@@ -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");
|
var alpha = Remote.from_config("alpha");
|
||||||
|
|
||||||
alpha.on('connected', function () {
|
alpha.on('connected', function () {
|
||||||
|
|||||||
Reference in New Issue
Block a user