Commit Graph

19 Commits

Author SHA1 Message Date
Damien Arrachequesne
528a61f86f refactor: bump prettier to version 2.8.1
This major bump creates a lot of noise, but it is necessary for
prettier to be able to parse new syntax such as:

- typed imports: `import { type xxx } from ...`
- private attributes: `class A { #b; #c() {} }`
2022-12-13 15:36:28 +01:00
Damien Arrachequesne
46fdc2f0ed feat: slice write buffer according to the maxPayload value
The server will now include a "maxPayload" field in the handshake
details, allowing the clients to decide how many packets they have to
send to stay under the maxHttpBufferSize value.

Related:

- https://github.com/socketio/socket.io-client/issues/1531
- 088dcb4dff
2022-03-12 11:11:17 +01:00
Damien Arrachequesne
fc5dc6b91e refactor: use ES6 syntax in tests 2021-03-31 11:35:12 +02:00
Damien Arrachequesne
08aff9487f refactor: use prettier to format code 2020-01-14 22:58:35 +01:00
Diga Widyaprana
fd90acf4b6 Eslint autofix 2016-02-29 20:43:08 +08:00
Naoyuki Kanezawa
7b30291eab enable to run most tests on Node environment 2015-05-27 02:54:20 +09:00
Tony Kovanen
8102833c27 Disable ws tests on IE11 because saucelabs breaks them. Let's run them in a VM until things get sorted out 2014-06-20 02:01:44 +03:00
Naoyuki Kanezawa
9ea654138d fix a test for ws 2014-06-08 20:06:17 +09:00
Tony Kovanen
a42fc93340 Tests for multibyte strings 2014-04-30 03:13:03 +03:00
Tony Kovanen
e303c080a9 Added android as a browser for testing fixed tests accordingly 2014-03-16 14:18:44 +02:00
Tony Kovanen
33b5e79ca1 Testing for base64 fallback mechanism now run for browsers that don't support binary types 2014-02-16 09:18:32 +02:00
Tony Kovanen
990fbc9158 Better hack for running iPhone tests. New simulators now also run ws tests. 2014-02-16 03:09:59 +02:00
Tony Kovanen
e56b740647 Hack to leave ws tests out for old iOS simulators 2014-02-15 22:21:38 +02:00
Tony Kovanen
e43b2eee56 Switched platform for IE10. Windows 2012 tests pass, but for some reason 2008 not 2014-02-15 22:00:10 +02:00
Tony Kovanen
5c8ac8c94a Adjusting timeouts 2014-02-15 21:34:22 +02:00
Tony Kovanen
62da296101 Fixed running tests 2014-02-15 20:06:24 +02:00
Tony Kovanen
ca9ad8fecd Ignoring Firefox for now + style 2014-02-15 09:01:16 +02:00
Tony Kovanen
33f7b2fba1 IE and iPhone fixed. Firefox is giving trouble 2014-02-15 08:28:20 +02:00
Tony Kovanen
0bf7f8b301 Reorganizing binary testing on the browser 2014-02-09 19:54:59 +02:00