Skip to content

Commit 4e85378

Browse files
authored
docs: fix various typos in test and documentation (#5481)
1 parent d1f5aa9 commit 4e85378

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

docs/engine.io-protocol/v3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ A payload is a series of encoded packets tied together. The payload encoding for
296296
<length1>:<packet1>[<length2>:<packet2>[...]]
297297
```
298298
* length: length of the packet in __characters__
299-
* packet: actual packets as descriped above
299+
* packet: actual packets as described above
300300

301301
When XHR2 is not supported, the same encoding principle is used also when
302302
binary data is sent, but it is sent as base64 encoded strings. For the purposes of decoding, an identifier `b` is

packages/engine.io/test/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ describe("server", () => {
581581
});
582582
});
583583

584-
it("should not suggest upgrades when none are availble", (done) => {
584+
it("should not suggest upgrades when none are available", (done) => {
585585
listen({ transports: ["polling"] }, (port) => {
586586
const socket = new ClientSocket(`ws://localhost:${port}`, {});
587587
socket.on("handshake", (obj) => {

packages/socket.io/test/socket.io.test-d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ describe("server", () => {
444444
nio.emit<"noArgs">,
445445
);
446446
expectType<ToEmit<ServerToClientEventsNoAck, "helloFromServer">>(
447-
// These errors will dissapear once the TS version is updated from 4.7.4
447+
// These errors will disappear once the TS version is updated from 4.7.4
448448
// the TSD instance is using a newer version of TS than the workspace version
449449
// to enable the ability to compare against `any`
450450
sio.emit<"helloFromServer">,

0 commit comments

Comments
 (0)