Skip to content

Commit

Permalink
test: update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 committed Aug 11, 2021
1 parent 00412ed commit 978dca5
Show file tree
Hide file tree
Showing 2 changed files with 92 additions and 6 deletions.
49 changes: 46 additions & 3 deletions test/server/__snapshots__/Server.test.js.snap.webpack4
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ exports[`Server DevServerPlugin add hot option 1`] = `
Array [
Array [
"client",
"index.js?protocol=ws%3A&hostname=localhost&port=8124&pathname=%2Fws",
"index.js?protocol=ws%3A&hostname=localhost&port=8124&pathname=%2Fws&logging=warn",
],
Array [
"node_modules",
Expand All @@ -22,7 +22,7 @@ exports[`Server DevServerPlugin add hot-only option 1`] = `
Array [
Array [
"client",
"index.js?protocol=ws%3A&hostname=localhost&port=8124&pathname=%2Fws",
"index.js?protocol=ws%3A&hostname=localhost&port=8124&pathname=%2Fws&logging=warn",
],
Array [
"node_modules",
Expand All @@ -40,7 +40,7 @@ exports[`Server DevServerPlugin should create and run server with old parameters
Array [
Array [
"client",
"index.js?protocol=ws%3A&hostname=localhost&port=8124&pathname=%2Fws",
"index.js?protocol=ws%3A&hostname=localhost&port=8124&pathname=%2Fws&logging=warn",
],
Array [
"node_modules",
Expand All @@ -63,6 +63,7 @@ Object {
],
"bonjour": false,
"client": Object {
"logging": "warn",
"overlay": true,
"webSocketURL": Object {},
},
Expand Down Expand Up @@ -103,6 +104,7 @@ Object {
"allowedHosts": "all",
"bonjour": false,
"client": Object {
"logging": "warn",
"overlay": true,
"webSocketURL": Object {},
},
Expand Down Expand Up @@ -143,6 +145,7 @@ Object {
"allowedHosts": "auto",
"bonjour": false,
"client": Object {
"logging": "warn",
"overlay": true,
"webSocketTransport": "/path/to/custom/client/",
"webSocketURL": Object {},
Expand Down Expand Up @@ -184,6 +187,7 @@ Object {
"allowedHosts": "auto",
"bonjour": false,
"client": Object {
"logging": "warn",
"overlay": true,
"webSocketURL": Object {
"hostname": "my.host",
Expand Down Expand Up @@ -227,6 +231,7 @@ Object {
"allowedHosts": "auto",
"bonjour": false,
"client": Object {
"logging": "warn",
"overlay": true,
"webSocketURL": Object {
"hostname": "my.host",
Expand Down Expand Up @@ -270,6 +275,7 @@ Object {
"allowedHosts": "auto",
"bonjour": false,
"client": Object {
"logging": "warn",
"overlay": true,
"webSocketURL": Object {
"pathname": "/custom/path/",
Expand Down Expand Up @@ -312,6 +318,7 @@ Object {
"allowedHosts": "auto",
"bonjour": false,
"client": Object {
"logging": "warn",
"overlay": true,
"webSocketURL": Object {
"pathname": "custom/path",
Expand Down Expand Up @@ -354,6 +361,7 @@ Object {
"allowedHosts": "auto",
"bonjour": false,
"client": Object {
"logging": "warn",
"overlay": true,
"webSocketTransport": "sockjs",
"webSocketURL": Object {},
Expand Down Expand Up @@ -395,6 +403,7 @@ Object {
"allowedHosts": "auto",
"bonjour": false,
"client": Object {
"logging": "warn",
"overlay": true,
"webSocketTransport": "ws",
"webSocketURL": Object {},
Expand Down Expand Up @@ -436,6 +445,7 @@ Object {
"allowedHosts": "auto",
"bonjour": false,
"client": Object {
"logging": "warn",
"overlay": true,
"webSocketTransport": "ws",
"webSocketURL": Object {},
Expand Down Expand Up @@ -480,6 +490,7 @@ Object {
"allowedHosts": "auto",
"bonjour": false,
"client": Object {
"logging": "warn",
"overlay": true,
"webSocketTransport": "ws",
"webSocketURL": Object {},
Expand Down Expand Up @@ -524,6 +535,7 @@ Object {
"allowedHosts": "auto",
"bonjour": false,
"client": Object {
"logging": "warn",
"overlay": true,
"webSocketTransport": "ws",
"webSocketURL": Object {},
Expand Down Expand Up @@ -565,6 +577,7 @@ Object {
"allowedHosts": "auto",
"bonjour": false,
"client": Object {
"logging": "warn",
"overlay": true,
"webSocketURL": Object {},
},
Expand Down Expand Up @@ -607,6 +620,7 @@ Object {
"allowedHosts": "auto",
"bonjour": false,
"client": Object {
"logging": "warn",
"overlay": true,
"webSocketURL": Object {},
},
Expand Down Expand Up @@ -647,6 +661,7 @@ Object {
"allowedHosts": "auto",
"bonjour": false,
"client": Object {
"logging": "warn",
"overlay": true,
"webSocketURL": Object {},
},
Expand Down Expand Up @@ -687,6 +702,7 @@ Object {
"allowedHosts": "auto",
"bonjour": false,
"client": Object {
"logging": "warn",
"overlay": true,
"webSocketURL": Object {},
},
Expand Down Expand Up @@ -727,6 +743,7 @@ Object {
"allowedHosts": "auto",
"bonjour": false,
"client": Object {
"logging": "warn",
"overlay": true,
"webSocketURL": Object {},
},
Expand Down Expand Up @@ -767,6 +784,7 @@ Object {
"allowedHosts": "auto",
"bonjour": false,
"client": Object {
"logging": "warn",
"overlay": true,
"webSocketURL": Object {},
},
Expand Down Expand Up @@ -807,6 +825,7 @@ Object {
"allowedHosts": "auto",
"bonjour": false,
"client": Object {
"logging": "warn",
"overlay": true,
"webSocketURL": Object {},
},
Expand Down Expand Up @@ -849,6 +868,7 @@ Object {
"allowedHosts": "auto",
"bonjour": false,
"client": Object {
"logging": "warn",
"overlay": true,
"webSocketURL": Object {},
},
Expand Down Expand Up @@ -889,6 +909,7 @@ Object {
"allowedHosts": "auto",
"bonjour": false,
"client": Object {
"logging": "warn",
"overlay": true,
"webSocketURL": Object {},
},
Expand Down Expand Up @@ -929,6 +950,7 @@ Object {
"allowedHosts": "auto",
"bonjour": false,
"client": Object {
"logging": "warn",
"overlay": true,
"webSocketURL": Object {},
},
Expand Down Expand Up @@ -971,6 +993,7 @@ Object {
"allowedHosts": "auto",
"bonjour": false,
"client": Object {
"logging": "warn",
"overlay": true,
"webSocketURL": Object {},
},
Expand Down Expand Up @@ -1013,6 +1036,7 @@ Object {
"allowedHosts": "auto",
"bonjour": false,
"client": Object {
"logging": "warn",
"overlay": true,
"webSocketURL": Object {},
},
Expand Down Expand Up @@ -1055,6 +1079,7 @@ Object {
"allowedHosts": "auto",
"bonjour": false,
"client": Object {
"logging": "warn",
"overlay": true,
"webSocketURL": Object {},
},
Expand Down Expand Up @@ -1095,6 +1120,7 @@ Object {
"allowedHosts": "auto",
"bonjour": false,
"client": Object {
"logging": "warn",
"overlay": true,
"webSocketURL": Object {},
},
Expand Down Expand Up @@ -1146,6 +1172,7 @@ Object {
"allowedHosts": "auto",
"bonjour": false,
"client": Object {
"logging": "warn",
"overlay": true,
"webSocketURL": Object {},
},
Expand Down Expand Up @@ -1197,6 +1224,7 @@ Object {
"allowedHosts": "auto",
"bonjour": false,
"client": Object {
"logging": "warn",
"overlay": true,
"webSocketURL": Object {},
},
Expand Down Expand Up @@ -1248,6 +1276,7 @@ Object {
"allowedHosts": "auto",
"bonjour": false,
"client": Object {
"logging": "warn",
"overlay": true,
"webSocketURL": Object {},
},
Expand Down Expand Up @@ -1288,6 +1317,7 @@ Object {
"allowedHosts": "auto",
"bonjour": false,
"client": Object {
"logging": "warn",
"overlay": true,
"webSocketURL": Object {},
},
Expand Down Expand Up @@ -1316,6 +1346,7 @@ Object {
"allowedHosts": "auto",
"bonjour": false,
"client": Object {
"logging": "warn",
"overlay": true,
"webSocketURL": Object {},
},
Expand Down Expand Up @@ -1356,6 +1387,7 @@ Object {
"allowedHosts": "auto",
"bonjour": false,
"client": Object {
"logging": "warn",
"overlay": true,
"webSocketURL": Object {},
},
Expand Down Expand Up @@ -1396,6 +1428,7 @@ Object {
"allowedHosts": "auto",
"bonjour": false,
"client": Object {
"logging": "warn",
"overlay": true,
"webSocketURL": Object {},
},
Expand Down Expand Up @@ -1436,6 +1469,7 @@ Object {
"allowedHosts": "auto",
"bonjour": false,
"client": Object {
"logging": "warn",
"overlay": true,
"webSocketURL": Object {},
},
Expand Down Expand Up @@ -1477,6 +1511,7 @@ Object {
"allowedHosts": "auto",
"bonjour": false,
"client": Object {
"logging": "warn",
"overlay": true,
"webSocketURL": Object {},
},
Expand Down Expand Up @@ -1517,6 +1552,7 @@ Object {
"allowedHosts": "auto",
"bonjour": false,
"client": Object {
"logging": "warn",
"overlay": true,
"webSocketURL": Object {},
},
Expand Down Expand Up @@ -1555,6 +1591,7 @@ Object {
"allowedHosts": "auto",
"bonjour": false,
"client": Object {
"logging": "warn",
"overlay": true,
"webSocketURL": Object {},
},
Expand Down Expand Up @@ -1595,6 +1632,7 @@ Object {
"allowedHosts": "auto",
"bonjour": false,
"client": Object {
"logging": "warn",
"overlay": true,
"webSocketURL": Object {},
},
Expand Down Expand Up @@ -1637,6 +1675,7 @@ Object {
"allowedHosts": "auto",
"bonjour": false,
"client": Object {
"logging": "warn",
"overlay": true,
"webSocketURL": Object {},
},
Expand Down Expand Up @@ -1677,6 +1716,7 @@ Object {
"allowedHosts": "auto",
"bonjour": false,
"client": Object {
"logging": "warn",
"overlay": true,
"webSocketURL": Object {},
},
Expand Down Expand Up @@ -1717,6 +1757,7 @@ Object {
"allowedHosts": "auto",
"bonjour": false,
"client": Object {
"logging": "warn",
"overlay": true,
"webSocketURL": Object {
"password": "chuntaro",
Expand Down Expand Up @@ -1760,6 +1801,7 @@ Object {
"allowedHosts": "auto",
"bonjour": false,
"client": Object {
"logging": "warn",
"overlay": true,
"webSocketURL": Object {},
},
Expand Down Expand Up @@ -1800,6 +1842,7 @@ Object {
"allowedHosts": "auto",
"bonjour": false,
"client": Object {
"logging": "warn",
"overlay": true,
"webSocketURL": Object {},
},
Expand Down
Loading

0 comments on commit 978dca5

Please sign in to comment.