Skip to content

Commit

Permalink
test: update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 committed Apr 17, 2022
1 parent e3ac9f2 commit 37db989
Show file tree
Hide file tree
Showing 8 changed files with 78 additions and 2 deletions.
1 change: 0 additions & 1 deletion test/e2e/__snapshots__/api.test.js.snap.webpack4
Expand Up @@ -214,7 +214,6 @@ exports[`API latest async API should work and allow to rerun dev server multiple

exports[`API latest async API should work when using configured manually: console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[HMR] Waiting for update signal from WDS...",
"[webpack-dev-server] Hot Module Replacement enabled.",
"Hey.",
Expand Down
1 change: 0 additions & 1 deletion test/e2e/__snapshots__/api.test.js.snap.webpack5
Expand Up @@ -214,7 +214,6 @@ exports[`API latest async API should work and allow to rerun dev server multiple

exports[`API latest async API should work when using configured manually: console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[HMR] Waiting for update signal from WDS...",
"[webpack-dev-server] Hot Module Replacement enabled.",
"Hey.",
Expand Down
Expand Up @@ -52,6 +52,7 @@ exports[`Built in routes with simple config should handle GET request to magic a

exports[`Built in routes with simple config should handle GET request to magic async html: 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 Down
Expand Up @@ -52,6 +52,7 @@ exports[`Built in routes with simple config should handle GET request to magic a

exports[`Built in routes with simple config should handle GET request to magic async html: 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 Down
31 changes: 31 additions & 0 deletions test/e2e/__snapshots__/multi-compiler.test.js.snap.webpack4
Expand Up @@ -2,6 +2,7 @@

exports[`multi compiler should work with one web target configuration and do nothing: 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 @@ -13,6 +14,7 @@ exports[`multi compiler should work with one web target configuration and do not

exports[`multi compiler should work with universal configuration and do nothing: console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[HMR] Waiting for update signal from WDS...",
"Hello from the browser",
"[webpack-dev-server] Hot Module Replacement enabled.",
Expand All @@ -24,6 +26,7 @@ exports[`multi compiler should work with universal configuration and do nothing:

exports[`multi compiler should work with universal configuration when hot and live reloads are enabled, and do hot reload for browser compiler by default when browser entry changed: console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[HMR] Waiting for update signal from WDS...",
"Hello from the browser",
"[webpack-dev-server] Hot Module Replacement enabled.",
Expand All @@ -35,6 +38,7 @@ Array [
"[HMR] Error: Aborted because ./browser.js is not accepted
Update propagation: ./browser.js -> 0
<stack>",
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[HMR] Waiting for update signal from WDS...",
"Hello from the browser",
"[webpack-dev-server] Hot Module Replacement enabled.",
Expand All @@ -46,6 +50,7 @@ exports[`multi compiler should work with universal configuration when hot and li

exports[`multi compiler should work with universal configuration when only hot reload is enabled, and do hot reload for browser compiler when browser entry changed: console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[HMR] Waiting for update signal from WDS...",
"Hello from the browser",
"[webpack-dev-server] Hot Module Replacement enabled.",
Expand All @@ -68,21 +73,25 @@ exports[`multi compiler should work with universal configuration when only hot r

exports[`multi compiler should work with universal configuration when only live reload is enabled, and do live reload for browser compiler when changing browser and server entries: console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"Hello from the browser",
"[webpack-dev-server] Live Reloading enabled.",
"[webpack-dev-server] App updated. Recompiling...",
"[webpack-dev-server] App updated. Reloading...",
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"Hello from the browser",
"[webpack-dev-server] Live Reloading enabled.",
]
`;

exports[`multi compiler should work with universal configuration when only live reload is enabled, and do live reload for browser compiler when changing browser and server entries: console messages 2`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"Hello from the browser",
"[webpack-dev-server] Live Reloading enabled.",
"[webpack-dev-server] App updated. Recompiling...",
"[webpack-dev-server] App updated. Reloading...",
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"Hello from the browser",
"[webpack-dev-server] Live Reloading enabled.",
]
Expand All @@ -94,21 +103,25 @@ exports[`multi compiler should work with universal configuration when only live

exports[`multi compiler should work with universal configuration when only live reload is enabled, and do live reload for browser compiler when changing server and browser entries: console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"Hello from the browser",
"[webpack-dev-server] Live Reloading enabled.",
"[webpack-dev-server] App updated. Recompiling...",
"[webpack-dev-server] App updated. Reloading...",
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"Hello from the browser",
"[webpack-dev-server] Live Reloading enabled.",
]
`;

exports[`multi compiler should work with universal configuration when only live reload is enabled, and do live reload for browser compiler when changing server and browser entries: console messages 2`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"Hello from the browser",
"[webpack-dev-server] Live Reloading enabled.",
"[webpack-dev-server] App updated. Recompiling...",
"[webpack-dev-server] App updated. Reloading...",
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"Hello from the browser",
"[webpack-dev-server] Live Reloading enabled.",
]
Expand All @@ -120,6 +133,7 @@ exports[`multi compiler should work with universal configuration when only live

exports[`multi compiler should work with web target configurations and do nothing: console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[HMR] Waiting for update signal from WDS...",
"one",
"[webpack-dev-server] Hot Module Replacement enabled.",
Expand All @@ -129,6 +143,7 @@ Array [

exports[`multi compiler should work with web target configurations and do nothing: console messages 2`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[HMR] Waiting for update signal from WDS...",
"two",
"[webpack-dev-server] Hot Module Replacement enabled.",
Expand All @@ -142,6 +157,7 @@ exports[`multi compiler should work with web target configurations and do nothin

exports[`multi compiler should work with web target configurations when hot and live reloads are enabled, and do hot reload by default when changing own entries: console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[HMR] Waiting for update signal from WDS...",
"one",
"[webpack-dev-server] Hot Module Replacement enabled.",
Expand All @@ -153,6 +169,7 @@ Array [
"[HMR] Error: Aborted because ./one.js is not accepted
Update propagation: ./one.js -> 0
<stack>",
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[HMR] Waiting for update signal from WDS...",
"one",
"[webpack-dev-server] Hot Module Replacement enabled.",
Expand All @@ -162,6 +179,7 @@ Update propagation: ./one.js -> 0

exports[`multi compiler should work with web target configurations when hot and live reloads are enabled, and do hot reload by default when changing own entries: console messages 2`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[HMR] Waiting for update signal from WDS...",
"two",
"[webpack-dev-server] Hot Module Replacement enabled.",
Expand All @@ -173,6 +191,7 @@ Array [
"[HMR] Error: Aborted because ./two.js is not accepted
Update propagation: ./two.js -> 0
<stack>",
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[HMR] Waiting for update signal from WDS...",
"two",
"[webpack-dev-server] Hot Module Replacement enabled.",
Expand All @@ -186,6 +205,7 @@ exports[`multi compiler should work with web target configurations when hot and

exports[`multi compiler should work with web target configurations when only hot reload is enabled, and do hot reload when changing own entries: console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[HMR] Waiting for update signal from WDS...",
"one",
"[webpack-dev-server] Hot Module Replacement enabled.",
Expand All @@ -196,6 +216,7 @@ Array [
"[HMR] Error: Aborted because ./one.js is not accepted
Update propagation: ./one.js -> 0
<stack>",
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[HMR] Waiting for update signal from WDS...",
"one",
"[webpack-dev-server] Hot Module Replacement enabled.",
Expand All @@ -204,6 +225,7 @@ Update propagation: ./one.js -> 0

exports[`multi compiler should work with web target configurations when only hot reload is enabled, and do hot reload when changing own entries: console messages 2`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[HMR] Waiting for update signal from WDS...",
"two",
"[webpack-dev-server] Hot Module Replacement enabled.",
Expand All @@ -214,6 +236,7 @@ Array [
"[HMR] Error: Aborted because ./two.js is not accepted
Update propagation: ./two.js -> 0
<stack>",
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[HMR] Waiting for update signal from WDS...",
"two",
"[webpack-dev-server] Hot Module Replacement enabled.",
Expand All @@ -226,21 +249,25 @@ exports[`multi compiler should work with web target configurations when only hot

exports[`multi compiler should work with web target configurations when only live reload is enabled and do live reload when changing other entries: console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"one",
"[webpack-dev-server] Live Reloading enabled.",
"[webpack-dev-server] App updated. Recompiling...",
"[webpack-dev-server] App updated. Reloading...",
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"one",
"[webpack-dev-server] Live Reloading enabled.",
]
`;

exports[`multi compiler should work with web target configurations when only live reload is enabled and do live reload when changing other entries: console messages 2`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"two",
"[webpack-dev-server] Live Reloading enabled.",
"[webpack-dev-server] App updated. Recompiling...",
"[webpack-dev-server] App updated. Reloading...",
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"two",
"[webpack-dev-server] Live Reloading enabled.",
]
Expand All @@ -252,21 +279,25 @@ exports[`multi compiler should work with web target configurations when only liv

exports[`multi compiler should work with web target configurations when only live reload is enabled, and do live reload when changing own entries: console messages 1`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"one",
"[webpack-dev-server] Live Reloading enabled.",
"[webpack-dev-server] App updated. Recompiling...",
"[webpack-dev-server] App updated. Reloading...",
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"one",
"[webpack-dev-server] Live Reloading enabled.",
]
`;

exports[`multi compiler should work with web target configurations when only live reload is enabled, and do live reload when changing own entries: console messages 2`] = `
Array [
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"two",
"[webpack-dev-server] Live Reloading enabled.",
"[webpack-dev-server] App updated. Recompiling...",
"[webpack-dev-server] App updated. Reloading...",
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"two",
"[webpack-dev-server] Live Reloading enabled.",
]
Expand Down

0 comments on commit 37db989

Please sign in to comment.