Skip to content

Commit 72aee7e

Browse files
knagaitsevhiroppy
authored andcommitted
test(server): increase port mapping base number (#2148)
1 parent 5c5024c commit 72aee7e

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

test/ports-map.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const portsList = {
4646
Iframe: 1,
4747
};
4848

49-
let startPort = 8079;
49+
let startPort = 8089;
5050
const ports = {};
5151

5252
Object.keys(portsList).forEach((key) => {

test/server/__snapshots__/Server.test.js.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Array [
55
Array [
66
"client",
77
"index.js?http:",
8-
"localhost:8090",
8+
"localhost:8100",
99
],
1010
Array [
1111
"node_modules",
@@ -35,7 +35,7 @@ Array [
3535
Array [
3636
"client",
3737
"index.js?http:",
38-
"localhost:8090",
38+
"localhost:8100",
3939
],
4040
Array [
4141
"node_modules",

test/server/open-option.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ describe('open option', () => {
2727
server.close(() => {
2828
expect(open.mock.calls[0]).toMatchInlineSnapshot(`
2929
Array [
30-
"http://localhost:8110/",
30+
"http://localhost:8120/",
3131
Object {
3232
"wait": false,
3333
},

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

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

55
exports[`SockJSServer server should recieve connection, send message, and close client 2`] = `
66
Array [

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

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

55
exports[`WebsocketServer server should recieve connection, send message, and close client 2`] = `
66
Array [

0 commit comments

Comments
 (0)