mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-29 00:25:48 +00:00
Edit Client constructor to take a server URI (#1544)
* edit Client * fix TS issues + tests * minor edits * rename ClientBroadcast -> BroadcastClient
This commit is contained in:
@@ -578,7 +578,7 @@ describe('Connection', function () {
|
||||
data: {returnEmptySubscribeRequest: 1}
|
||||
})
|
||||
|
||||
const client = new Client({server: this.client.connection._url})
|
||||
const client = new Client(this.client.connection._url)
|
||||
return client.connect().then(
|
||||
() => {
|
||||
assert(false, 'Must have thrown!')
|
||||
|
||||
Reference in New Issue
Block a user