Skip to content

Commit

Permalink
fix(sockets): Restrict transport to websockets, fix default url
Browse files Browse the repository at this point in the history
  • Loading branch information
JanCizmar committed Jul 13, 2021
1 parent d8c7801 commit 44b8e68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/socketio-client/src/TranslationsClient.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ describe('TranslationsClient', () => {
client.on('connect', () => {});
expect(io).toBeCalledWith('dummy_server_url/translations', {
query: authentication,
transports: ['websocket'],
});
expect(io).toHaveBeenCalledTimes(1);
});
Expand Down

0 comments on commit 44b8e68

Please sign in to comment.