fix call with error handler not throwing on call itself
This commit is contained in:
+1
-4
@@ -614,10 +614,7 @@ describe("attaching handlers before connecting", ()=>{
|
||||
})
|
||||
|
||||
sock.connect().then(_ => {
|
||||
sock.call("unknownRPC123", "AAAAA").catch(e => {
|
||||
console.log("unexpected call catch clause");
|
||||
done(e)
|
||||
})
|
||||
sock.call("unknownRPC123", "AAAAA").catch(e => { /* ignore */})
|
||||
}).catch(e => {
|
||||
console.log("unexpected connect catch clause");
|
||||
done(e)
|
||||
|
||||
Reference in New Issue
Block a user