Skip to content

Commit

Permalink
test: update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 committed Feb 13, 2022
1 parent f1205cb commit 9dc2767
Show file tree
Hide file tree
Showing 34 changed files with 512 additions and 0 deletions.
28 changes: 28 additions & 0 deletions test/e2e/__snapshots__/allowed-hosts.test.js.snap.webpack4
Expand Up @@ -38,6 +38,7 @@ exports[`allowed hosts check host headers should always allow value of the \`hos

exports[`allowed hosts should connect web socket client using "[::1] host to web socket server with the "auto" value ("sockjs"): console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[HMR] Waiting for update signal from WDS...",
"Hey.",
"[webpack-dev-server] Hot Module Replacement enabled.",
Expand All @@ -49,6 +50,7 @@ exports[`allowed hosts should connect web socket client using "[::1] host to web

exports[`allowed hosts should connect web socket client using "[::1] host to web socket server with the "auto" value ("ws"): console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[HMR] Waiting for update signal from WDS...",
"Hey.",
"[webpack-dev-server] Hot Module Replacement enabled.",
Expand All @@ -60,6 +62,7 @@ exports[`allowed hosts should connect web socket client using "[::1] host to web

exports[`allowed hosts should connect web socket client using "127.0.0.1" host to web socket server with the "auto" value ("sockjs"): console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[HMR] Waiting for update signal from WDS...",
"Hey.",
"[webpack-dev-server] Hot Module Replacement enabled.",
Expand All @@ -71,6 +74,7 @@ exports[`allowed hosts should connect web socket client using "127.0.0.1" host t

exports[`allowed hosts should connect web socket client using "127.0.0.1" host to web socket server with the "auto" value ("ws"): console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[HMR] Waiting for update signal from WDS...",
"Hey.",
"[webpack-dev-server] Hot Module Replacement enabled.",
Expand All @@ -82,6 +86,7 @@ exports[`allowed hosts should connect web socket client using "127.0.0.1" host t

exports[`allowed hosts should connect web socket client using "chrome-extension:" protocol to web socket server with the "auto" value ("sockjs"): console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[HMR] Waiting for update signal from WDS...",
"Hey.",
"[webpack-dev-server] Hot Module Replacement enabled.",
Expand All @@ -93,6 +98,7 @@ exports[`allowed hosts should connect web socket client using "chrome-extension:

exports[`allowed hosts should connect web socket client using "chrome-extension:" protocol to web socket server with the "auto" value ("ws"): console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[HMR] Waiting for update signal from WDS...",
"Hey.",
"[webpack-dev-server] Hot Module Replacement enabled.",
Expand All @@ -104,6 +110,7 @@ exports[`allowed hosts should connect web socket client using "chrome-extension:

exports[`allowed hosts should connect web socket client using "file:" protocol to web socket server with the "auto" value ("sockjs"): console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[HMR] Waiting for update signal from WDS...",
"Hey.",
"[webpack-dev-server] Hot Module Replacement enabled.",
Expand All @@ -115,6 +122,7 @@ exports[`allowed hosts should connect web socket client using "file:" protocol t

exports[`allowed hosts should connect web socket client using "file:" protocol to web socket server with the "auto" value ("ws"): console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[HMR] Waiting for update signal from WDS...",
"Hey.",
"[webpack-dev-server] Hot Module Replacement enabled.",
Expand All @@ -126,6 +134,7 @@ exports[`allowed hosts should connect web socket client using "file:" protocol t

exports[`allowed hosts should connect web socket client using custom hostname to web socket server with the "all" value ("sockjs"): console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[HMR] Waiting for update signal from WDS...",
"Hey.",
"[webpack-dev-server] Hot Module Replacement enabled.",
Expand All @@ -137,6 +146,7 @@ exports[`allowed hosts should connect web socket client using custom hostname to

exports[`allowed hosts should connect web socket client using custom hostname to web socket server with the "all" value ("ws"): console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[HMR] Waiting for update signal from WDS...",
"Hey.",
"[webpack-dev-server] Hot Module Replacement enabled.",
Expand All @@ -148,6 +158,7 @@ exports[`allowed hosts should connect web socket client using custom hostname to

exports[`allowed hosts should connect web socket client using custom hostname to web socket server with the "all" value in array ("sockjs"): console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[HMR] Waiting for update signal from WDS...",
"Hey.",
"[webpack-dev-server] Hot Module Replacement enabled.",
Expand All @@ -159,6 +170,7 @@ exports[`allowed hosts should connect web socket client using custom hostname to

exports[`allowed hosts should connect web socket client using custom hostname to web socket server with the "all" value in array ("ws"): console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[HMR] Waiting for update signal from WDS...",
"Hey.",
"[webpack-dev-server] Hot Module Replacement enabled.",
Expand All @@ -170,6 +182,7 @@ exports[`allowed hosts should connect web socket client using custom hostname to

exports[`allowed hosts should connect web socket client using custom hostname to web socket server with the custom hostname value ("sockjs"): console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[HMR] Waiting for update signal from WDS...",
"Hey.",
"[webpack-dev-server] Hot Module Replacement enabled.",
Expand All @@ -181,6 +194,7 @@ exports[`allowed hosts should connect web socket client using custom hostname to

exports[`allowed hosts should connect web socket client using custom hostname to web socket server with the custom hostname value ("ws"): console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[HMR] Waiting for update signal from WDS...",
"Hey.",
"[webpack-dev-server] Hot Module Replacement enabled.",
Expand All @@ -192,6 +206,7 @@ exports[`allowed hosts should connect web socket client using custom hostname to

exports[`allowed hosts should connect web socket client using custom hostname to web socket server with the custom hostname value starting with dot ("sockjs"): console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[HMR] Waiting for update signal from WDS...",
"Hey.",
"[webpack-dev-server] Hot Module Replacement enabled.",
Expand All @@ -203,6 +218,7 @@ exports[`allowed hosts should connect web socket client using custom hostname to

exports[`allowed hosts should connect web socket client using custom hostname to web socket server with the custom hostname value starting with dot ("ws"): console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[HMR] Waiting for update signal from WDS...",
"Hey.",
"[webpack-dev-server] Hot Module Replacement enabled.",
Expand All @@ -214,6 +230,7 @@ exports[`allowed hosts should connect web socket client using custom hostname to

exports[`allowed hosts should connect web socket client using custom hostname to web socket server with the multiple custom hostname values ("sockjs"): console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[HMR] Waiting for update signal from WDS...",
"Hey.",
"[webpack-dev-server] Hot Module Replacement enabled.",
Expand All @@ -225,6 +242,7 @@ exports[`allowed hosts should connect web socket client using custom hostname to

exports[`allowed hosts should connect web socket client using custom hostname to web socket server with the multiple custom hostname values ("ws"): console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[HMR] Waiting for update signal from WDS...",
"Hey.",
"[webpack-dev-server] Hot Module Replacement enabled.",
Expand All @@ -236,6 +254,7 @@ exports[`allowed hosts should connect web socket client using custom hostname to

exports[`allowed hosts should connect web socket client using custom sub hostname to web socket server with the custom hostname value ("sockjs"): console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[HMR] Waiting for update signal from WDS...",
"Hey.",
"[webpack-dev-server] Hot Module Replacement enabled.",
Expand All @@ -247,6 +266,7 @@ exports[`allowed hosts should connect web socket client using custom sub hostnam

exports[`allowed hosts should connect web socket client using custom sub hostname to web socket server with the custom hostname value ("ws"): console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[HMR] Waiting for update signal from WDS...",
"Hey.",
"[webpack-dev-server] Hot Module Replacement enabled.",
Expand All @@ -258,6 +278,7 @@ exports[`allowed hosts should connect web socket client using custom sub hostnam

exports[`allowed hosts should connect web socket client using localhost to web socket server with the "auto" value ("sockjs"): console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[HMR] Waiting for update signal from WDS...",
"Hey.",
"[webpack-dev-server] Hot Module Replacement enabled.",
Expand All @@ -269,6 +290,7 @@ exports[`allowed hosts should connect web socket client using localhost to web s

exports[`allowed hosts should connect web socket client using localhost to web socket server with the "auto" value ("ws"): console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[HMR] Waiting for update signal from WDS...",
"Hey.",
"[webpack-dev-server] Hot Module Replacement enabled.",
Expand All @@ -292,6 +314,7 @@ exports[`allowed hosts should disconnect web client using localhost to web socke

exports[`allowed hosts should disconnect web socket client using custom hostname from web socket server with the "auto" value based on the "host" header ("sockjs"): console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[HMR] Waiting for update signal from WDS...",
"Hey.",
"[webpack-dev-server] Invalid Host/Origin header",
Expand All @@ -304,6 +327,7 @@ exports[`allowed hosts should disconnect web socket client using custom hostname

exports[`allowed hosts should disconnect web socket client using custom hostname from web socket server with the "auto" value based on the "host" header ("ws"): console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[HMR] Waiting for update signal from WDS...",
"Hey.",
"[webpack-dev-server] Invalid Host/Origin header",
Expand All @@ -316,6 +340,7 @@ exports[`allowed hosts should disconnect web socket client using custom hostname

exports[`allowed hosts should disconnect web socket client using custom hostname from web socket server with the "auto" value based on the "host" header when "server: 'https'" is enabled ("sockjs"): console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[HMR] Waiting for update signal from WDS...",
"Hey.",
"[webpack-dev-server] Invalid Host/Origin header",
Expand All @@ -328,6 +353,7 @@ exports[`allowed hosts should disconnect web socket client using custom hostname

exports[`allowed hosts should disconnect web socket client using custom hostname from web socket server with the "auto" value based on the "host" header when "server: 'https'" is enabled ("ws"): console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[HMR] Waiting for update signal from WDS...",
"Hey.",
"[webpack-dev-server] Invalid Host/Origin header",
Expand All @@ -340,6 +366,7 @@ exports[`allowed hosts should disconnect web socket client using custom hostname

exports[`allowed hosts should disconnect web socket client using custom hostname from web socket server with the "auto" value based on the "origin" header ("sockjs"): console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[HMR] Waiting for update signal from WDS...",
"Hey.",
"[webpack-dev-server] Invalid Host/Origin header",
Expand All @@ -352,6 +379,7 @@ exports[`allowed hosts should disconnect web socket client using custom hostname

exports[`allowed hosts should disconnect web socket client using custom hostname from web socket server with the "auto" value based on the "origin" header ("ws"): console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[HMR] Waiting for update signal from WDS...",
"Hey.",
"[webpack-dev-server] Invalid Host/Origin header",
Expand Down

0 comments on commit 9dc2767

Please sign in to comment.