fix debug log showing in release

This commit is contained in:
2020-11-29 05:56:43 +01:00
parent 7c8f865e51
commit 1627c12f9d
3 changed files with 1 additions and 25 deletions
-19
View File
@@ -870,25 +870,6 @@ describe("attaching handlers before connecting", () => {
})
})
it("fires error if call is unknown", (done) => {
const serv = new RPCServer().listen(21004)
const sock = new RPCSocket(21004, 'localhost')
sock.on('error', (err) => {
sock.close()
serv.close()
done()
})
sock.connect().then(_ => {
sock.call("unknownRPC123", "AAAAA").catch(e => { }).then(x => {
done(new Error("unexpected return value"))
})
}).catch(e => {
done(e)
})
})
/*
* ## 1.11.0 breaking ##
*