Skip to content

Commit 12d76be

Browse files
authored
docs: fix typos across the project (#2452)
1 parent 9a6e4a1 commit 12d76be

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

client-src/live/web_modules/jquery/jquery-1.8.1.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5052,7 +5052,7 @@ if ( document.querySelectorAll ) {
50525052
// Regex strategy adopted from Diego Perini
50535053
assert(function( div ) {
50545054
// Select is set to empty string on purpose
5055-
// This is to test IE's treatment of not explictly
5055+
// This is to test IE's treatment of not explicitly
50565056
// setting a boolean content attribute,
50575057
// since its presence should be enough
50585058
// http://bugs.jquery.com/ticket/12359

test/client/socket-helper.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ describe('socket', () => {
1818

1919
const mockClientInstance = SockJSClient.mock.instances[0];
2020

21-
// this simulates recieving a message from the server and passing it
21+
// this simulates receiving a message from the server and passing it
2222
// along to the callback of onMessage
2323
mockClientInstance.onMessage.mock.calls[0][0](
2424
JSON.stringify({
@@ -47,7 +47,7 @@ describe('socket', () => {
4747
const mockClientInstance =
4848
global.__webpack_dev_server_client__.mock.instances[0];
4949

50-
// this simulates recieving a message from the server and passing it
50+
// this simulates receiving a message from the server and passing it
5151
// along to the callback of onMessage
5252
mockClientInstance.onMessage.mock.calls[0][0](
5353
JSON.stringify({

test/server/servers/SockJSServer.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ describe('SockJSServer', () => {
3232
});
3333

3434
describe('server', () => {
35-
it('should recieve connection, send message, and close client', (done) => {
35+
it('should receive connection, send message, and close client', (done) => {
3636
const data = [];
3737

3838
let headers;

test/server/servers/WebsocketServer.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ describe('WebsocketServer', () => {
3131
});
3232
});
3333

34-
it('should recieve connection, send message, and close client', (done) => {
34+
it('should receive connection, send message, and close client', (done) => {
3535
const data = [];
3636

3737
let headers;

test/server/servers/__snapshots__/SockJSServer.test.js.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

3-
exports[`SockJSServer server should recieve connection, send message, and close client 1`] = `"localhost:8093"`;
3+
exports[`SockJSServer server should receive connection, send message, and close client 1`] = `"localhost:8093"`;
44

5-
exports[`SockJSServer server should recieve connection, send message, and close client 2`] = `
5+
exports[`SockJSServer server should receive connection, send message, and close client 2`] = `
66
Array [
77
"open",
88
"hello world",

test/server/servers/__snapshots__/WebsocketServer.test.js.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

3-
exports[`WebsocketServer should recieve connection, send message, and close client 1`] = `"localhost:8131"`;
3+
exports[`WebsocketServer should receive connection, send message, and close client 1`] = `"localhost:8131"`;
44

5-
exports[`WebsocketServer should recieve connection, send message, and close client 2`] = `
5+
exports[`WebsocketServer should receive connection, send message, and close client 2`] = `
66
Array [
77
"open",
88
"hello world",

test/testSequencer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class CustomSequencer extends Sequencer {
1818
return test.path.includes('/e2e/') || test.path.includes('\\e2e\\');
1919
};
2020

21-
// seperate e2e and non-e2e tests into two separate arrays
21+
// separate e2e and non-e2e tests into two separate arrays
2222
const endToEndTests = copyTests.filter(isEndToEndTest);
2323
const nonEndToEndTests = copyTests.filter((test) => !isEndToEndTest(test));
2424

0 commit comments

Comments
 (0)