Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@gdyrrahitis
Created August 9, 2017 22:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gdyrrahitis/761933a9aa361a9a0b439466d745c9f9 to your computer and use it in GitHub Desktop.
Save gdyrrahitis/761933a9aa361a9a0b439466d745c9f9 to your computer and use it in GitHub Desktop.
Connect to socket
describe("connect", () => {
it("should connect socket", (done: Function) => {
client.on("connect", () => {
assert.equal(client.connected, true);
client.disconnect();
done();
});
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment