Skip to content

Commit

Permalink
test(server): increase port mapping base number (#2148)
Browse files Browse the repository at this point in the history
  • Loading branch information
knagaitsev authored and hiroppy committed Jul 27, 2019
1 parent 5c5024c commit 72aee7e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion test/ports-map.js
Expand Up @@ -46,7 +46,7 @@ const portsList = {
Iframe: 1,
};

let startPort = 8079;
let startPort = 8089;
const ports = {};

Object.keys(portsList).forEach((key) => {
Expand Down
4 changes: 2 additions & 2 deletions test/server/__snapshots__/Server.test.js.snap
Expand Up @@ -5,7 +5,7 @@ Array [
Array [
"client",
"index.js?http:",
"localhost:8090",
"localhost:8100",
],
Array [
"node_modules",
Expand Down Expand Up @@ -35,7 +35,7 @@ Array [
Array [
"client",
"index.js?http:",
"localhost:8090",
"localhost:8100",
],
Array [
"node_modules",
Expand Down
2 changes: 1 addition & 1 deletion test/server/open-option.test.js
Expand Up @@ -27,7 +27,7 @@ describe('open option', () => {
server.close(() => {
expect(open.mock.calls[0]).toMatchInlineSnapshot(`
Array [
"http://localhost:8110/",
"http://localhost:8120/",
Object {
"wait": false,
},
Expand Down
@@ -1,6 +1,6 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

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

exports[`SockJSServer server should recieve connection, send message, and close client 2`] = `
Array [
Expand Down
@@ -1,6 +1,6 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

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

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

0 comments on commit 72aee7e

Please sign in to comment.