"
-`;
-
-exports[`Built in routes with multi config should handle GET request to directory index and list all middleware directories: page errors 1`] = `[]`;
-
-exports[`Built in routes with multi config should handle GET request to directory index and list all middleware directories: response headers content-type 1`] = `"text/html"`;
-
-exports[`Built in routes with multi config should handle GET request to directory index and list all middleware directories: response status 1`] = `200`;
-
-exports[`Built in routes with simple config should handle GET request to directory index and list all middleware directories: console messages 1`] = `[]`;
-
-exports[`Built in routes with simple config should handle GET request to directory index and list all middleware directories: directory list 1`] = `
-"
"
-`;
-
-exports[`Built in routes with simple config should handle GET request to directory index and list all middleware directories: page errors 1`] = `[]`;
-
-exports[`Built in routes with simple config should handle GET request to directory index and list all middleware directories: response headers content-type 1`] = `"text/html"`;
-
-exports[`Built in routes with simple config should handle GET request to directory index and list all middleware directories: response status 1`] = `200`;
-
-exports[`Built in routes with simple config should handle GET request to invalidate endpoint: console messages 1`] = `[]`;
-
-exports[`Built in routes with simple config should handle GET request to invalidate endpoint: page errors 1`] = `[]`;
-
-exports[`Built in routes with simple config should handle GET request to invalidate endpoint: response status 1`] = `200`;
-
-exports[`Built in routes with simple config should handle GET request to magic async chunk: console messages 1`] = `[]`;
-
-exports[`Built in routes with simple config should handle GET request to magic async chunk: response headers content-type 1`] = `"application/javascript; charset=utf-8"`;
-
-exports[`Built in routes with simple config should handle GET request to magic async chunk: response status 1`] = `200`;
-
-exports[`Built in routes with simple config should handle HEAD request to directory index: console messages 1`] = `[]`;
-
-exports[`Built in routes with simple config should handle HEAD request to directory index: directory list 1`] = `""`;
-
-exports[`Built in routes with simple config should handle HEAD request to directory index: page errors 1`] = `[]`;
-
-exports[`Built in routes with simple config should handle HEAD request to directory index: response headers content-type 1`] = `"text/html"`;
-
-exports[`Built in routes with simple config should handle HEAD request to directory index: response status 1`] = `200`;
-
-exports[`Built in routes with simple config should handle HEAD request to magic async chunk: console messages 1`] = `[]`;
-
-exports[`Built in routes with simple config should handle HEAD request to magic async chunk: response headers content-type 1`] = `"application/javascript; charset=utf-8"`;
-
-exports[`Built in routes with simple config should handle HEAD request to magic async chunk: response status 1`] = `200`;
-
-exports[`Built in routes with simple config should handles GET request to sockjs bundle: console messages 1`] = `[]`;
-
-exports[`Built in routes with simple config should handles GET request to sockjs bundle: page errors 1`] = `[]`;
-
-exports[`Built in routes with simple config should handles GET request to sockjs bundle: response headers content-type 1`] = `"application/javascript"`;
-
-exports[`Built in routes with simple config should handles GET request to sockjs bundle: response status 1`] = `200`;
-
-exports[`Built in routes with simple config should handles HEAD request to sockjs bundle: console messages 1`] = `[]`;
-
-exports[`Built in routes with simple config should handles HEAD request to sockjs bundle: page errors 1`] = `[]`;
-
-exports[`Built in routes with simple config should handles HEAD request to sockjs bundle: response headers content-type 1`] = `"application/javascript"`;
-
-exports[`Built in routes with simple config should handles HEAD request to sockjs bundle: response status 1`] = `200`;
diff --git a/packages/rspack-dev-server/tests/e2e/__snapshots__/client-reconnect.test.js.snap.webpack5 b/packages/rspack-dev-server/tests/e2e/__snapshots__/client-reconnect.test.js.snap.webpack5
deleted file mode 100644
index dee90931c0e..00000000000
--- a/packages/rspack-dev-server/tests/e2e/__snapshots__/client-reconnect.test.js.snap.webpack5
+++ /dev/null
@@ -1,37 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`client.reconnect option specified as false should not try to reconnect: console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "Hey.",
- "[webpack-dev-server] Disconnected!",
-]
-`;
-
-exports[`client.reconnect option specified as false should not try to reconnect: page errors 1`] = `[]`;
-
-exports[`client.reconnect option specified as false should not try to reconnect: response status 1`] = `200`;
-
-exports[`client.reconnect option specified as number should try to reconnect 2 times: console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "Hey.",
- "[webpack-dev-server] Disconnected!",
- "[webpack-dev-server] Trying to reconnect...",
- "WebSocket connection to 'ws://127.0.0.1:8163/ws' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED",
- "[webpack-dev-server] JSHandle@object",
- "[webpack-dev-server] Trying to reconnect...",
- "WebSocket connection to 'ws://127.0.0.1:8163/ws' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED",
- "[webpack-dev-server] JSHandle@object",
-]
-`;
-
-exports[`client.reconnect option specified as number should try to reconnect 2 times: page errors 1`] = `[]`;
-
-exports[`client.reconnect option specified as number should try to reconnect 2 times: response status 1`] = `200`;
-
-exports[`client.reconnect option specified as true should try to reconnect unlimited times: page errors 1`] = `[]`;
-
-exports[`client.reconnect option specified as true should try to reconnect unlimited times: response status 1`] = `200`;
diff --git a/packages/rspack-dev-server/tests/e2e/__snapshots__/client.test.js.snap.webpack5 b/packages/rspack-dev-server/tests/e2e/__snapshots__/client.test.js.snap.webpack5
deleted file mode 100644
index fb39002b72c..00000000000
--- a/packages/rspack-dev-server/tests/e2e/__snapshots__/client.test.js.snap.webpack5
+++ /dev/null
@@ -1,19 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`client option configure client entry should disable client entry: console messages 1`] = `[]`;
-
-exports[`client option configure client entry should disable client entry: page errors 1`] = `[]`;
-
-exports[`client option configure client entry should disable client entry: response status 1`] = `200`;
-
-exports[`client option default behaviour responds with a 200 status code for /ws path: console messages 1`] = `[]`;
-
-exports[`client option default behaviour responds with a 200 status code for /ws path: page errors 1`] = `[]`;
-
-exports[`client option default behaviour responds with a 200 status code for /ws path: response status 1`] = `200`;
-
-exports[`client option should respect path option responds with a 200 status code for /foo/test/bar path: console messages 1`] = `[]`;
-
-exports[`client option should respect path option responds with a 200 status code for /foo/test/bar path: page errors 1`] = `[]`;
-
-exports[`client option should respect path option responds with a 200 status code for /foo/test/bar path: response status 1`] = `200`;
diff --git a/packages/rspack-dev-server/tests/e2e/__snapshots__/compress.test.js.snap.webpack5 b/packages/rspack-dev-server/tests/e2e/__snapshots__/compress.test.js.snap.webpack5
deleted file mode 100644
index 3aac8d779a6..00000000000
--- a/packages/rspack-dev-server/tests/e2e/__snapshots__/compress.test.js.snap.webpack5
+++ /dev/null
@@ -1,25 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`compress option as false should handle GET request to bundle file: console messages 1`] = `[]`;
-
-exports[`compress option as false should handle GET request to bundle file: page errors 1`] = `[]`;
-
-exports[`compress option as false should handle GET request to bundle file: response headers content-encoding 1`] = `undefined`;
-
-exports[`compress option as false should handle GET request to bundle file: response status 1`] = `200`;
-
-exports[`compress option as true should handle GET request to bundle file: console messages 1`] = `[]`;
-
-exports[`compress option as true should handle GET request to bundle file: page errors 1`] = `[]`;
-
-exports[`compress option as true should handle GET request to bundle file: response headers content-encoding 1`] = `"gzip"`;
-
-exports[`compress option as true should handle GET request to bundle file: response status 1`] = `200`;
-
-exports[`compress option enabled by default when not specified should handle GET request to bundle file: console messages 1`] = `[]`;
-
-exports[`compress option enabled by default when not specified should handle GET request to bundle file: page errors 1`] = `[]`;
-
-exports[`compress option enabled by default when not specified should handle GET request to bundle file: response headers content-encoding 1`] = `"gzip"`;
-
-exports[`compress option enabled by default when not specified should handle GET request to bundle file: response status 1`] = `200`;
diff --git a/packages/rspack-dev-server/tests/e2e/__snapshots__/entry.test.js.snap.webpack5 b/packages/rspack-dev-server/tests/e2e/__snapshots__/entry.test.js.snap.webpack5
deleted file mode 100644
index 7f320cd1ecc..00000000000
--- a/packages/rspack-dev-server/tests/e2e/__snapshots__/entry.test.js.snap.webpack5
+++ /dev/null
@@ -1,93 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`entry should work with dynamic async entry: console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "Hey.",
-]
-`;
-
-exports[`entry should work with dynamic async entry: page errors 1`] = `[]`;
-
-exports[`entry should work with dynamic entry: console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "Hey.",
-]
-`;
-
-exports[`entry should work with dynamic entry: page errors 1`] = `[]`;
-
-exports[`entry should work with empty: console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "Hey.",
-]
-`;
-
-exports[`entry should work with empty: page errors 1`] = `[]`;
-
-exports[`entry should work with multiple entries #2: console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "Bar.",
-]
-`;
-
-exports[`entry should work with multiple entries #2: page errors 1`] = `[]`;
-
-exports[`entry should work with multiple entries and "dependOn": console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "Bar.",
- "Hey.",
-]
-`;
-
-exports[`entry should work with multiple entries and "dependOn": page errors 1`] = `[]`;
-
-exports[`entry should work with multiple entries: console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "Hey.",
-]
-`;
-
-exports[`entry should work with multiple entries: page errors 1`] = `[]`;
-
-exports[`entry should work with object entry: console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "Hey.",
-]
-`;
-
-exports[`entry should work with object entry: page errors 1`] = `[]`;
-
-exports[`entry should work with single array entry: console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "Hey.",
- "Bar.",
-]
-`;
-
-exports[`entry should work with single array entry: page errors 1`] = `[]`;
-
-exports[`entry should work with single entry: console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "Hey.",
-]
-`;
-
-exports[`entry should work with single entry: page errors 1`] = `[]`;
diff --git a/packages/rspack-dev-server/tests/e2e/__snapshots__/headers.test.js.snap.webpack5 b/packages/rspack-dev-server/tests/e2e/__snapshots__/headers.test.js.snap.webpack5
deleted file mode 100644
index 376a38e2440..00000000000
--- a/packages/rspack-dev-server/tests/e2e/__snapshots__/headers.test.js.snap.webpack5
+++ /dev/null
@@ -1,109 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`headers option as a function returning an array should handle GET request with headers: console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "Hey.",
-]
-`;
-
-exports[`headers option as a function returning an array should handle GET request with headers: page errors 1`] = `[]`;
-
-exports[`headers option as a function returning an array should handle GET request with headers: response headers x-bar 1`] = `"value2"`;
-
-exports[`headers option as a function returning an array should handle GET request with headers: response headers x-foo 1`] = `"value1"`;
-
-exports[`headers option as a function returning an array should handle GET request with headers: response status 1`] = `200`;
-
-exports[`headers option as a function should handle GET request with headers as a function: console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "Hey.",
-]
-`;
-
-exports[`headers option as a function should handle GET request with headers as a function: page errors 1`] = `[]`;
-
-exports[`headers option as a function should handle GET request with headers as a function: response headers x-bar 1`] = `
-"key1=value1
-key2=value2"
-`;
-
-exports[`headers option as a function should handle GET request with headers as a function: response status 1`] = `200`;
-
-exports[`headers option as a string and support HEAD request should handle HEAD request with headers: console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "Hey.",
-]
-`;
-
-exports[`headers option as a string and support HEAD request should handle HEAD request with headers: page errors 1`] = `[]`;
-
-exports[`headers option as a string and support HEAD request should handle HEAD request with headers: response headers x-foo 1`] = `"dev-server headers"`;
-
-exports[`headers option as a string and support HEAD request should handle HEAD request with headers: response status 1`] = `200`;
-
-exports[`headers option as a string should handle GET request with headers: console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "Hey.",
-]
-`;
-
-exports[`headers option as a string should handle GET request with headers: page errors 1`] = `[]`;
-
-exports[`headers option as a string should handle GET request with headers: response headers x-foo 1`] = `"dev-server headers"`;
-
-exports[`headers option as a string should handle GET request with headers: response status 1`] = `200`;
-
-exports[`headers option as an array of objects should handle GET request with headers: console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "Hey.",
-]
-`;
-
-exports[`headers option as an array of objects should handle GET request with headers: page errors 1`] = `[]`;
-
-exports[`headers option as an array of objects should handle GET request with headers: response headers x-bar 1`] = `"value2"`;
-
-exports[`headers option as an array of objects should handle GET request with headers: response headers x-foo 1`] = `"value1"`;
-
-exports[`headers option as an array of objects should handle GET request with headers: response status 1`] = `200`;
-
-exports[`headers option as an array should handle GET request with headers as an array: console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "Hey.",
-]
-`;
-
-exports[`headers option as an array should handle GET request with headers as an array: page errors 1`] = `[]`;
-
-exports[`headers option as an array should handle GET request with headers as an array: response headers x-bar 1`] = `
-"key1=value1
-key2=value2"
-`;
-
-exports[`headers option as an array should handle GET request with headers as an array: response status 1`] = `200`;
-
-exports[`headers option dev middleware headers take precedence for dev middleware output files should handle GET request with headers as a function: console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "Hey.",
-]
-`;
-
-exports[`headers option dev middleware headers take precedence for dev middleware output files should handle GET request with headers as a function: page errors 1`] = `[]`;
-
-exports[`headers option dev middleware headers take precedence for dev middleware output files should handle GET request with headers as a function: response headers x-foo 1`] = `"dev-middleware-headers"`;
-
-exports[`headers option dev middleware headers take precedence for dev middleware output files should handle GET request with headers as a function: response status 1`] = `200`;
diff --git a/packages/rspack-dev-server/tests/e2e/__snapshots__/history-api-fallback.test.js.snap.webpack5 b/packages/rspack-dev-server/tests/e2e/__snapshots__/history-api-fallback.test.js.snap.webpack5
deleted file mode 100644
index 105d89d80d5..00000000000
--- a/packages/rspack-dev-server/tests/e2e/__snapshots__/history-api-fallback.test.js.snap.webpack5
+++ /dev/null
@@ -1,153 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`historyApiFallback option as boolean should handle GET request to directory: console messages 1`] = `[]`;
-
-exports[`historyApiFallback option as boolean should handle GET request to directory: page errors 1`] = `[]`;
-
-exports[`historyApiFallback option as boolean should handle GET request to directory: response headers content-type 1`] = `"text/html; charset=utf-8"`;
-
-exports[`historyApiFallback option as boolean should handle GET request to directory: response status 1`] = `200`;
-
-exports[`historyApiFallback option as boolean should handle GET request to directory: response text 1`] = `
-"Heyyy
-"
-`;
-
-exports[`historyApiFallback option as object should handle GET request to directory: console messages 1`] = `[]`;
-
-exports[`historyApiFallback option as object should handle GET request to directory: page errors 1`] = `[]`;
-
-exports[`historyApiFallback option as object should handle GET request to directory: response headers content-type 1`] = `"text/html; charset=utf-8"`;
-
-exports[`historyApiFallback option as object should handle GET request to directory: response status 1`] = `200`;
-
-exports[`historyApiFallback option as object should handle GET request to directory: response text 1`] = `
-"Foobar
-"
-`;
-
-exports[`historyApiFallback option as object with static and rewrites historyApiFallback respect any other specified rewrites: console messages 1`] = `[]`;
-
-exports[`historyApiFallback option as object with static and rewrites historyApiFallback respect any other specified rewrites: page errors 1`] = `[]`;
-
-exports[`historyApiFallback option as object with static and rewrites historyApiFallback respect any other specified rewrites: response headers content-type 1`] = `"text/html; charset=UTF-8"`;
-
-exports[`historyApiFallback option as object with static and rewrites historyApiFallback respect any other specified rewrites: response status 1`] = `200`;
-
-exports[`historyApiFallback option as object with static and rewrites historyApiFallback respect any other specified rewrites: response text 1`] = `
-"Other file
-"
-`;
-
-exports[`historyApiFallback option as object with static and rewrites historyApiFallback respect rewrites and shows index for unknown urls: console messages 1`] = `[]`;
-
-exports[`historyApiFallback option as object with static and rewrites historyApiFallback respect rewrites and shows index for unknown urls: page errors 1`] = `[]`;
-
-exports[`historyApiFallback option as object with static and rewrites historyApiFallback respect rewrites and shows index for unknown urls: response headers content-type 1`] = `"text/html; charset=UTF-8"`;
-
-exports[`historyApiFallback option as object with static and rewrites historyApiFallback respect rewrites and shows index for unknown urls: response status 1`] = `200`;
-
-exports[`historyApiFallback option as object with static and rewrites historyApiFallback respect rewrites and shows index for unknown urls: response text 1`] = `
-"Foobar
-"
-`;
-
-exports[`historyApiFallback option as object with static and rewrites historyApiFallback respect rewrites for index: console messages 1`] = `[]`;
-
-exports[`historyApiFallback option as object with static and rewrites historyApiFallback respect rewrites for index: page errors 1`] = `[]`;
-
-exports[`historyApiFallback option as object with static and rewrites historyApiFallback respect rewrites for index: response headers content-type 1`] = `"text/html; charset=UTF-8"`;
-
-exports[`historyApiFallback option as object with static and rewrites historyApiFallback respect rewrites for index: response status 1`] = `200`;
-
-exports[`historyApiFallback option as object with static and rewrites historyApiFallback respect rewrites for index: response text 1`] = `
-"Foobar
-"
-`;
-
-exports[`historyApiFallback option as object with static set to false historyApiFallback should work and ignore static content: console messages 1`] = `[]`;
-
-exports[`historyApiFallback option as object with static set to false historyApiFallback should work and ignore static content: page errors 1`] = `[]`;
-
-exports[`historyApiFallback option as object with static set to false historyApiFallback should work and ignore static content: response headers content-type 1`] = `"text/html; charset=utf-8"`;
-
-exports[`historyApiFallback option as object with static set to false historyApiFallback should work and ignore static content: response status 1`] = `200`;
-
-exports[`historyApiFallback option as object with static set to false historyApiFallback should work and ignore static content: response text 1`] = `
-"In-memory file
-"
-`;
-
-exports[`historyApiFallback option as object with static should handle GET request to directory: console messages 1`] = `[]`;
-
-exports[`historyApiFallback option as object with static should handle GET request to directory: page errors 1`] = `[]`;
-
-exports[`historyApiFallback option as object with static should handle GET request to directory: response headers content-type 1`] = `"text/html; charset=UTF-8"`;
-
-exports[`historyApiFallback option as object with static should handle GET request to directory: response status 1`] = `200`;
-
-exports[`historyApiFallback option as object with static should handle GET request to directory: response text 1`] = `
-"Foobar
-"
-`;
-
-exports[`historyApiFallback option as object with static should prefer static file over historyApiFallback: console messages 1`] = `[]`;
-
-exports[`historyApiFallback option as object with static should prefer static file over historyApiFallback: page errors 1`] = `[]`;
-
-exports[`historyApiFallback option as object with static should prefer static file over historyApiFallback: response headers content-type 1`] = `"text/plain; charset=UTF-8"`;
-
-exports[`historyApiFallback option as object with static should prefer static file over historyApiFallback: response status 1`] = `200`;
-
-exports[`historyApiFallback option as object with static should prefer static file over historyApiFallback: response text 1`] = `
-"Random file
-"
-`;
-
-exports[`historyApiFallback option as object with the "logger" option request to directory and log: console messages 1`] = `[]`;
-
-exports[`historyApiFallback option as object with the "logger" option request to directory and log: page errors 1`] = `[]`;
-
-exports[`historyApiFallback option as object with the "logger" option request to directory and log: response headers content-type 1`] = `"text/html; charset=utf-8"`;
-
-exports[`historyApiFallback option as object with the "logger" option request to directory and log: response status 1`] = `200`;
-
-exports[`historyApiFallback option as object with the "logger" option request to directory and log: response text 1`] = `
-"Foobar
-"
-`;
-
-exports[`historyApiFallback option as object with the "verbose" option request to directory and log: console messages 1`] = `[]`;
-
-exports[`historyApiFallback option as object with the "verbose" option request to directory and log: page errors 1`] = `[]`;
-
-exports[`historyApiFallback option as object with the "verbose" option request to directory and log: response headers content-type 1`] = `"text/html; charset=utf-8"`;
-
-exports[`historyApiFallback option as object with the "verbose" option request to directory and log: response status 1`] = `200`;
-
-exports[`historyApiFallback option as object with the "verbose" option request to directory and log: response text 1`] = `
-"Foobar
-"
-`;
-
-exports[`historyApiFallback option in-memory files should perform HEAD request in same way as GET: response headers content-type 1`] = `"text/html; charset=utf-8"`;
-
-exports[`historyApiFallback option in-memory files should perform HEAD request in same way as GET: response status 1`] = `"OK"`;
-
-exports[`historyApiFallback option in-memory files should perform HEAD request in same way as GET: response text 1`] = `
-"In-memory file
-"
-`;
-
-exports[`historyApiFallback option in-memory files should take precedence over static files: console messages 1`] = `[]`;
-
-exports[`historyApiFallback option in-memory files should take precedence over static files: page errors 1`] = `[]`;
-
-exports[`historyApiFallback option in-memory files should take precedence over static files: response headers content-type 1`] = `"text/html; charset=utf-8"`;
-
-exports[`historyApiFallback option in-memory files should take precedence over static files: response status 1`] = `200`;
-
-exports[`historyApiFallback option in-memory files should take precedence over static files: response text 1`] = `
-"In-memory file
-"
-`;
diff --git a/packages/rspack-dev-server/tests/e2e/__snapshots__/host.test.js.snap.webpack5 b/packages/rspack-dev-server/tests/e2e/__snapshots__/host.test.js.snap.webpack5
deleted file mode 100644
index 3aa742bc730..00000000000
--- a/packages/rspack-dev-server/tests/e2e/__snapshots__/host.test.js.snap.webpack5
+++ /dev/null
@@ -1,61 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`host should work using "127.0.0.1" host and "auto" port: console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "Hey.",
-]
-`;
-
-exports[`host should work using "127.0.0.1" host and "auto" port: page errors 1`] = `[]`;
-
-exports[`host should work using "127.0.0.1" host and port as number: console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "Hey.",
-]
-`;
-
-exports[`host should work using "127.0.0.1" host and port as number: page errors 1`] = `[]`;
-
-exports[`host should work using "127.0.0.1" host and port as string: console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "Hey.",
-]
-`;
-
-exports[`host should work using "127.0.0.1" host and port as string: page errors 1`] = `[]`;
-
-exports[`host should work using "localhost" host and "auto" port: console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "Hey.",
-]
-`;
-
-exports[`host should work using "localhost" host and "auto" port: page errors 1`] = `[]`;
-
-exports[`host should work using "localhost" host and port as number: console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "Hey.",
-]
-`;
-
-exports[`host should work using "localhost" host and port as number: page errors 1`] = `[]`;
-
-exports[`host should work using "localhost" host and port as string: console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "Hey.",
-]
-`;
-
-exports[`host should work using "localhost" host and port as string: page errors 1`] = `[]`;
diff --git a/packages/rspack-dev-server/tests/e2e/__snapshots__/hot-and-live-reload.test.js.snap.webpack5 b/packages/rspack-dev-server/tests/e2e/__snapshots__/hot-and-live-reload.test.js.snap.webpack5
deleted file mode 100644
index 3d7a793295a..00000000000
--- a/packages/rspack-dev-server/tests/e2e/__snapshots__/hot-and-live-reload.test.js.snap.webpack5
+++ /dev/null
@@ -1,385 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`hot and live reload should not refresh content when hot and no live reload disabled (default): console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading disabled, Progress disabled, Overlay enabled.",
- "[webpack-dev-server] App updated. Recompiling...",
-]
-`;
-
-exports[`hot and live reload should not refresh content when hot and no live reload disabled (default): page errors 1`] = `[]`;
-
-exports[`hot and live reload should not refresh content when hot and no live reload disabled (sockjs): console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading disabled, Progress disabled, Overlay enabled.",
- "[webpack-dev-server] App updated. Recompiling...",
-]
-`;
-
-exports[`hot and live reload should not refresh content when hot and no live reload disabled (sockjs): page errors 1`] = `[]`;
-
-exports[`hot and live reload should not refresh content when hot and no live reload disabled (ws): console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading disabled, Progress disabled, Overlay enabled.",
- "[webpack-dev-server] App updated. Recompiling...",
-]
-`;
-
-exports[`hot and live reload should not refresh content when hot and no live reload disabled (ws): page errors 1`] = `[]`;
-
-exports[`hot and live reload should work and allow to disable hot module replacement and live reload using the "webpack-dev-server-hot=false&webpack-dev-server-live-reload=false" (default): console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "[webpack-dev-server] App updated. Recompiling...",
-]
-`;
-
-exports[`hot and live reload should work and allow to disable hot module replacement and live reload using the "webpack-dev-server-hot=false&webpack-dev-server-live-reload=false" (default): page errors 1`] = `[]`;
-
-exports[`hot and live reload should work and allow to disable hot module replacement using the "webpack-dev-server-hot=false" (default): console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "[webpack-dev-server] App updated. Recompiling...",
- "[webpack-dev-server] App updated. Reloading...",
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
-]
-`;
-
-exports[`hot and live reload should work and allow to disable hot module replacement using the "webpack-dev-server-hot=false" (default): page errors 1`] = `[]`;
-
-exports[`hot and live reload should work and allow to disable live reload using the "webpack-dev-server-live-reload=false" (default): console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[webpack-dev-server] App updated. Recompiling...",
-]
-`;
-
-exports[`hot and live reload should work and allow to disable live reload using the "webpack-dev-server-live-reload=false" (default): page errors 1`] = `[]`;
-
-exports[`hot and live reload should work and do nothing when web socket server disabled (default): console messages 1`] = `[]`;
-
-exports[`hot and live reload should work and do nothing when web socket server disabled (default): page errors 1`] = `[]`;
-
-exports[`hot and live reload should work and refresh content using hot module replacement (default): console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "[webpack-dev-server] App updated. Recompiling...",
- "[webpack-dev-server] App hot update...",
- "[HMR] Checking for updates on the server...",
- "[HMR] Updated modules:",
- "[HMR] - ./main.css",
- "[HMR] - ../../../../../node_modules/.pnpm/css-loader@6.11.0_@rspack+core@packages+rspack_webpack@5.94.0_webpack-cli@5.1.4_webpack@5.94.0__/node_modules/css-loader/dist/cjs.js!./main.css",
- "",
- "[HMR] App is up to date.",
-]
-`;
-
-exports[`hot and live reload should work and refresh content using hot module replacement (default): page errors 1`] = `[]`;
-
-exports[`hot and live reload should work and refresh content using hot module replacement when hot enabled (default): console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "[webpack-dev-server] App updated. Recompiling...",
- "[webpack-dev-server] App hot update...",
- "[HMR] Checking for updates on the server...",
- "[HMR] Updated modules:",
- "[HMR] - ./main.css",
- "[HMR] - ../../../../../node_modules/.pnpm/css-loader@6.11.0_@rspack+core@packages+rspack_webpack@5.94.0_webpack-cli@5.1.4_webpack@5.94.0__/node_modules/css-loader/dist/cjs.js!./main.css",
- "",
- "[HMR] App is up to date.",
-]
-`;
-
-exports[`hot and live reload should work and refresh content using hot module replacement when hot enabled (default): page errors 1`] = `[]`;
-
-exports[`hot and live reload should work and refresh content using hot module replacement when hot enabled (sockjs): console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "[webpack-dev-server] App updated. Recompiling...",
- "[webpack-dev-server] App hot update...",
- "[HMR] Checking for updates on the server...",
- "[HMR] Updated modules:",
- "[HMR] - ./main.css",
- "[HMR] - ../../../../../node_modules/.pnpm/css-loader@6.11.0_@rspack+core@packages+rspack_webpack@5.94.0_webpack-cli@5.1.4_webpack@5.94.0__/node_modules/css-loader/dist/cjs.js!./main.css",
- "",
- "[HMR] App is up to date.",
-]
-`;
-
-exports[`hot and live reload should work and refresh content using hot module replacement when hot enabled (sockjs): page errors 1`] = `[]`;
-
-exports[`hot and live reload should work and refresh content using hot module replacement when hot enabled (ws): console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "[webpack-dev-server] App updated. Recompiling...",
- "[webpack-dev-server] App hot update...",
- "[HMR] Checking for updates on the server...",
- "[HMR] Updated modules:",
- "[HMR] - ./main.css",
- "[HMR] - ../../../../../node_modules/.pnpm/css-loader@6.11.0_@rspack+core@packages+rspack_webpack@5.94.0_webpack-cli@5.1.4_webpack@5.94.0__/node_modules/css-loader/dist/cjs.js!./main.css",
- "",
- "[HMR] App is up to date.",
-]
-`;
-
-exports[`hot and live reload should work and refresh content using hot module replacement when hot enabled (ws): page errors 1`] = `[]`;
-
-exports[`hot and live reload should work and refresh content using hot module replacement when live reload and hot enabled (sockjs): console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "[webpack-dev-server] App updated. Recompiling...",
- "[webpack-dev-server] App hot update...",
- "[HMR] Checking for updates on the server...",
- "[HMR] Updated modules:",
- "[HMR] - ./main.css",
- "[HMR] - ../../../../../node_modules/.pnpm/css-loader@6.11.0_@rspack+core@packages+rspack_webpack@5.94.0_webpack-cli@5.1.4_webpack@5.94.0__/node_modules/css-loader/dist/cjs.js!./main.css",
- "",
- "[HMR] App is up to date.",
-]
-`;
-
-exports[`hot and live reload should work and refresh content using hot module replacement when live reload and hot enabled (sockjs): page errors 1`] = `[]`;
-
-exports[`hot and live reload should work and refresh content using hot module replacement when live reload and hot enabled (ws): console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "[webpack-dev-server] App updated. Recompiling...",
- "[webpack-dev-server] App hot update...",
- "[HMR] Checking for updates on the server...",
- "[HMR] Updated modules:",
- "[HMR] - ./main.css",
- "[HMR] - ../../../../../node_modules/.pnpm/css-loader@6.11.0_@rspack+core@packages+rspack_webpack@5.94.0_webpack-cli@5.1.4_webpack@5.94.0__/node_modules/css-loader/dist/cjs.js!./main.css",
- "",
- "[HMR] App is up to date.",
-]
-`;
-
-exports[`hot and live reload should work and refresh content using hot module replacement when live reload and hot enabled (ws): page errors 1`] = `[]`;
-
-exports[`hot and live reload should work and refresh content using hot module replacement when live reload disabled and hot enabled (default): console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading disabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "[webpack-dev-server] App updated. Recompiling...",
- "[webpack-dev-server] App hot update...",
- "[HMR] Checking for updates on the server...",
- "[HMR] Updated modules:",
- "[HMR] - ./main.css",
- "[HMR] - ../../../../../node_modules/.pnpm/css-loader@6.11.0_@rspack+core@packages+rspack_webpack@5.94.0_webpack-cli@5.1.4_webpack@5.94.0__/node_modules/css-loader/dist/cjs.js!./main.css",
- "",
- "[HMR] App is up to date.",
-]
-`;
-
-exports[`hot and live reload should work and refresh content using hot module replacement when live reload disabled and hot enabled (default): page errors 1`] = `[]`;
-
-exports[`hot and live reload should work and refresh content using hot module replacement when live reload disabled and hot enabled (sockjs): console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading disabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "[webpack-dev-server] App updated. Recompiling...",
- "[webpack-dev-server] App hot update...",
- "[HMR] Checking for updates on the server...",
- "[HMR] Updated modules:",
- "[HMR] - ./main.css",
- "[HMR] - ../../../../../node_modules/.pnpm/css-loader@6.11.0_@rspack+core@packages+rspack_webpack@5.94.0_webpack-cli@5.1.4_webpack@5.94.0__/node_modules/css-loader/dist/cjs.js!./main.css",
- "",
- "[HMR] App is up to date.",
-]
-`;
-
-exports[`hot and live reload should work and refresh content using hot module replacement when live reload disabled and hot enabled (sockjs): page errors 1`] = `[]`;
-
-exports[`hot and live reload should work and refresh content using hot module replacement when live reload disabled and hot enabled (ws): console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading disabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "[webpack-dev-server] App updated. Recompiling...",
- "[webpack-dev-server] App hot update...",
- "[HMR] Checking for updates on the server...",
- "[HMR] Updated modules:",
- "[HMR] - ./main.css",
- "[HMR] - ../../../../../node_modules/.pnpm/css-loader@6.11.0_@rspack+core@packages+rspack_webpack@5.94.0_webpack-cli@5.1.4_webpack@5.94.0__/node_modules/css-loader/dist/cjs.js!./main.css",
- "",
- "[HMR] App is up to date.",
-]
-`;
-
-exports[`hot and live reload should work and refresh content using hot module replacement when live reload disabled and hot enabled (ws): page errors 1`] = `[]`;
-
-exports[`hot and live reload should work and refresh content using hot module replacement when live reload enabled (default): console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "[webpack-dev-server] App updated. Recompiling...",
- "[webpack-dev-server] App hot update...",
- "[HMR] Checking for updates on the server...",
- "[HMR] Updated modules:",
- "[HMR] - ./main.css",
- "[HMR] - ../../../../../node_modules/.pnpm/css-loader@6.11.0_@rspack+core@packages+rspack_webpack@5.94.0_webpack-cli@5.1.4_webpack@5.94.0__/node_modules/css-loader/dist/cjs.js!./main.css",
- "",
- "[HMR] App is up to date.",
-]
-`;
-
-exports[`hot and live reload should work and refresh content using hot module replacement when live reload enabled (default): page errors 1`] = `[]`;
-
-exports[`hot and live reload should work and refresh content using hot module replacement when live reload enabled (sockjs): console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "[webpack-dev-server] App updated. Recompiling...",
- "[webpack-dev-server] App hot update...",
- "[HMR] Checking for updates on the server...",
- "[HMR] Updated modules:",
- "[HMR] - ./main.css",
- "[HMR] - ../../../../../node_modules/.pnpm/css-loader@6.11.0_@rspack+core@packages+rspack_webpack@5.94.0_webpack-cli@5.1.4_webpack@5.94.0__/node_modules/css-loader/dist/cjs.js!./main.css",
- "",
- "[HMR] App is up to date.",
-]
-`;
-
-exports[`hot and live reload should work and refresh content using hot module replacement when live reload enabled (sockjs): page errors 1`] = `[]`;
-
-exports[`hot and live reload should work and refresh content using hot module replacement when live reload enabled (ws): console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "[webpack-dev-server] App updated. Recompiling...",
- "[webpack-dev-server] App hot update...",
- "[HMR] Checking for updates on the server...",
- "[HMR] Updated modules:",
- "[HMR] - ./main.css",
- "[HMR] - ../../../../../node_modules/.pnpm/css-loader@6.11.0_@rspack+core@packages+rspack_webpack@5.94.0_webpack-cli@5.1.4_webpack@5.94.0__/node_modules/css-loader/dist/cjs.js!./main.css",
- "",
- "[HMR] App is up to date.",
-]
-`;
-
-exports[`hot and live reload should work and refresh content using hot module replacement when live reload enabled (ws): page errors 1`] = `[]`;
-
-exports[`hot and live reload should work and refresh content using hot module replacement when live reload enabled and hot disabled (default): console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "[webpack-dev-server] App updated. Recompiling...",
- "[webpack-dev-server] App hot update...",
- "[HMR] Checking for updates on the server...",
- "[HMR] Updated modules:",
- "[HMR] - ./main.css",
- "[HMR] - ../../../../../node_modules/.pnpm/css-loader@6.11.0_@rspack+core@packages+rspack_webpack@5.94.0_webpack-cli@5.1.4_webpack@5.94.0__/node_modules/css-loader/dist/cjs.js!./main.css",
- "",
- "[HMR] App is up to date.",
-]
-`;
-
-exports[`hot and live reload should work and refresh content using hot module replacement when live reload enabled and hot disabled (default): page errors 1`] = `[]`;
-
-exports[`hot and live reload should work and refresh content using live reload (default): console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[webpack-dev-server] App updated. Recompiling...",
- "[webpack-dev-server] App updated. Reloading...",
- "[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
-]
-`;
-
-exports[`hot and live reload should work and refresh content using live reload (default): page errors 1`] = `[]`;
-
-exports[`hot and live reload should work and refresh content using live reload when live reload disabled and hot enabled (sockjs): console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[webpack-dev-server] App updated. Recompiling...",
- "[webpack-dev-server] App updated. Reloading...",
- "[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
-]
-`;
-
-exports[`hot and live reload should work and refresh content using live reload when live reload disabled and hot enabled (sockjs): page errors 1`] = `[]`;
-
-exports[`hot and live reload should work and refresh content using live reload when live reload enabled and hot disabled (ws): console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[webpack-dev-server] App updated. Recompiling...",
- "[webpack-dev-server] App updated. Reloading...",
- "[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
-]
-`;
-
-exports[`hot and live reload should work and refresh content using live reload when live reload enabled and hot disabled (ws): page errors 1`] = `[]`;
-
-exports[`hot and live reload should work with manual client setup (default): console messages 1`] = `
-[
- "[HMR] Waiting for update signal from WDS...",
- "[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading disabled, Progress disabled, Overlay disabled.",
- "[webpack-dev-server] App updated. Recompiling...",
- "[webpack-dev-server] App hot update...",
- "[HMR] Checking for updates on the server...",
- "[HMR] Updated modules:",
- "[HMR] - ./main.css",
- "[HMR] - ../../../../../node_modules/.pnpm/css-loader@6.11.0_@rspack+core@packages+rspack_webpack@5.94.0_webpack-cli@5.1.4_webpack@5.94.0__/node_modules/css-loader/dist/cjs.js!./main.css",
- "",
- "[HMR] App is up to date.",
-]
-`;
-
-exports[`hot and live reload should work with manual client setup (default): page errors 1`] = `[]`;
-
-exports[`hot and live reload should work with manual client setup and allow to disable hot module replacement (default): console messages 1`] = `
-[
- "[HMR] Waiting for update signal from WDS...",
- "[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading disabled, Progress disabled, Overlay disabled.",
- "[webpack-dev-server] App updated. Recompiling...",
- "[webpack-dev-server] App updated. Reloading...",
- "[HMR] Waiting for update signal from WDS...",
- "[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading disabled, Progress disabled, Overlay disabled.",
-]
-`;
-
-exports[`hot and live reload should work with manual client setup and allow to disable hot module replacement (default): page errors 1`] = `[]`;
-
-exports[`hot and live reload should work with manual client setup and allow to disable live reload (default): console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading disabled, Progress disabled, Overlay disabled.",
- "[webpack-dev-server] App updated. Recompiling...",
-]
-`;
-
-exports[`hot and live reload should work with manual client setup and allow to disable live reload (default): page errors 1`] = `[]`;
-
-exports[`hot and live reload should work with manual client setup and allow to enable hot module replacement (default): console messages 1`] = `
-[
- "[HMR] Waiting for update signal from WDS...",
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading disabled, Progress disabled, Overlay disabled.",
- "[webpack-dev-server] App updated. Recompiling...",
- "[webpack-dev-server] App hot update...",
- "[HMR] Checking for updates on the server...",
- "[HMR] Updated modules:",
- "[HMR] - ./main.css",
- "[HMR] - ../../../../../node_modules/.pnpm/css-loader@6.11.0_@rspack+core@packages+rspack_webpack@5.94.0_webpack-cli@5.1.4_webpack@5.94.0__/node_modules/css-loader/dist/cjs.js!./main.css",
- "",
- "[HMR] App is up to date.",
-]
-`;
-
-exports[`hot and live reload should work with manual client setup and allow to enable hot module replacement (default): page errors 1`] = `[]`;
-
-exports[`hot and live reload should work with manual client setup and allow to enable live reload (default): console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay disabled.",
- "[webpack-dev-server] App updated. Recompiling...",
- "[webpack-dev-server] App updated. Reloading...",
- "[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay disabled.",
-]
-`;
-
-exports[`hot and live reload should work with manual client setup and allow to enable live reload (default): page errors 1`] = `[]`;
diff --git a/packages/rspack-dev-server/tests/e2e/__snapshots__/ipc.test.js.snap.webpack5 b/packages/rspack-dev-server/tests/e2e/__snapshots__/ipc.test.js.snap.webpack5
deleted file mode 100644
index b8508659b44..00000000000
--- a/packages/rspack-dev-server/tests/e2e/__snapshots__/ipc.test.js.snap.webpack5
+++ /dev/null
@@ -1,41 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`web socket server URL should work with the "ipc" option using "string" value ("sockjs"): console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "Hey.",
-]
-`;
-
-exports[`web socket server URL should work with the "ipc" option using "string" value ("sockjs"): page errors 1`] = `[]`;
-
-exports[`web socket server URL should work with the "ipc" option using "string" value ("ws"): console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "Hey.",
-]
-`;
-
-exports[`web socket server URL should work with the "ipc" option using "string" value ("ws"): page errors 1`] = `[]`;
-
-exports[`web socket server URL should work with the "ipc" option using "true" value ("sockjs"): console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "Hey.",
-]
-`;
-
-exports[`web socket server URL should work with the "ipc" option using "true" value ("sockjs"): page errors 1`] = `[]`;
-
-exports[`web socket server URL should work with the "ipc" option using "true" value ("ws"): console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "Hey.",
-]
-`;
-
-exports[`web socket server URL should work with the "ipc" option using "true" value ("ws"): page errors 1`] = `[]`;
diff --git a/packages/rspack-dev-server/tests/e2e/__snapshots__/logging.test.js.snap.webpack5 b/packages/rspack-dev-server/tests/e2e/__snapshots__/logging.test.js.snap.webpack5
deleted file mode 100644
index 6258a968c9f..00000000000
--- a/packages/rspack-dev-server/tests/e2e/__snapshots__/logging.test.js.snap.webpack5
+++ /dev/null
@@ -1,333 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`logging should work and do not log messages about hot and live reloading is enabled (sockjs) 1`] = `
-[
- [webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading disabled, Progress disabled, Overlay enabled.,
- Hey.,
-]
-`;
-
-exports[`logging should work and do not log messages about hot and live reloading is enabled (ws) 1`] = `
-[
- [webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading disabled, Progress disabled, Overlay enabled.,
- Hey.,
-]
-`;
-
-exports[`logging should work and log errors by default (sockjs) 1`] = `
-[
- [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.,
- [HMR] Waiting for update signal from WDS...,
- Hey.,
- [webpack-dev-server] Errors while compiling. Reload prevented.,
- [webpack-dev-server] ERROR
- × Error: Error from compilation
- │ at Object.fn (/tests/e2e/logging.test.js::)
- │ at SyncHook.callAsyncStageRange (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at SyncHook.callStageRange (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at QueriedHook.call (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at /packages/rspack/dist/Compiler.js::
- │ at last.function (/packages/rspack/dist/Compiler.js::)
-,
-]
-`;
-
-exports[`logging should work and log errors by default (ws) 1`] = `
-[
- [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.,
- [HMR] Waiting for update signal from WDS...,
- Hey.,
- [webpack-dev-server] Errors while compiling. Reload prevented.,
- [webpack-dev-server] ERROR
- × Error: Error from compilation
- │ at Object.fn (/tests/e2e/logging.test.js::)
- │ at SyncHook.callAsyncStageRange (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at SyncHook.callStageRange (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at QueriedHook.call (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at /packages/rspack/dist/Compiler.js::
- │ at last.function (/packages/rspack/dist/Compiler.js::)
-,
-]
-`;
-
-exports[`logging should work and log message about live reloading is enabled (sockjs) 1`] = `
-[
- [webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled.,
- Hey.,
-]
-`;
-
-exports[`logging should work and log message about live reloading is enabled (ws) 1`] = `
-[
- [webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled.,
- Hey.,
-]
-`;
-
-exports[`logging should work and log messages about hot and live reloading is enabled (sockjs) 1`] = `
-[
- [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.,
- [HMR] Waiting for update signal from WDS...,
- Hey.,
-]
-`;
-
-exports[`logging should work and log messages about hot and live reloading is enabled (sockjs) 2`] = `
-[
- [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.,
- [HMR] Waiting for update signal from WDS...,
- Hey.,
-]
-`;
-
-exports[`logging should work and log messages about hot and live reloading is enabled (sockjs) 3`] = `
-[
- [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.,
- [HMR] Waiting for update signal from WDS...,
- Hey.,
-]
-`;
-
-exports[`logging should work and log messages about hot and live reloading is enabled (ws) 1`] = `
-[
- [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.,
- [HMR] Waiting for update signal from WDS...,
- Hey.,
-]
-`;
-
-exports[`logging should work and log messages about hot and live reloading is enabled (ws) 2`] = `
-[
- [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.,
- [HMR] Waiting for update signal from WDS...,
- Hey.,
-]
-`;
-
-exports[`logging should work and log messages about hot and live reloading is enabled (ws) 3`] = `
-[
- [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.,
- [HMR] Waiting for update signal from WDS...,
- Hey.,
-]
-`;
-
-exports[`logging should work and log messages about hot is enabled (sockjs) 1`] = `
-[
- [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading disabled, Progress disabled, Overlay enabled.,
- [HMR] Waiting for update signal from WDS...,
- Hey.,
-]
-`;
-
-exports[`logging should work and log messages about hot is enabled (ws) 1`] = `
-[
- [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading disabled, Progress disabled, Overlay enabled.,
- [HMR] Waiting for update signal from WDS...,
- Hey.,
-]
-`;
-
-exports[`logging should work and log only error (sockjs) 1`] = `
-[
- Hey.,
- [webpack-dev-server] Errors while compiling. Reload prevented.,
- [webpack-dev-server] ERROR
- × Error: Error from compilation
- │ at Object.fn (/tests/e2e/logging.test.js::)
- │ at SyncHook.callAsyncStageRange (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at SyncHook.callStageRange (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at QueriedHook.call (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at /packages/rspack/dist/Compiler.js::
- │ at last.function (/packages/rspack/dist/Compiler.js::)
-,
-]
-`;
-
-exports[`logging should work and log only error (ws) 1`] = `
-[
- Hey.,
- [webpack-dev-server] Errors while compiling. Reload prevented.,
- [webpack-dev-server] ERROR
- × Error: Error from compilation
- │ at Object.fn (/tests/e2e/logging.test.js::)
- │ at SyncHook.callAsyncStageRange (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at SyncHook.callStageRange (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at QueriedHook.call (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at /packages/rspack/dist/Compiler.js::
- │ at last.function (/packages/rspack/dist/Compiler.js::)
-,
-]
-`;
-
-exports[`logging should work and log static changes (sockjs) 1`] = `
-[
- [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.,
- [HMR] Waiting for update signal from WDS...,
- Hey.,
- [webpack-dev-server] "/tests/fixtures/client-config/static/foo.txt" from static directory was changed. Reloading...,
- [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.,
- [HMR] Waiting for update signal from WDS...,
- Hey.,
-]
-`;
-
-exports[`logging should work and log static changes (ws) 1`] = `
-[
- [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.,
- [HMR] Waiting for update signal from WDS...,
- Hey.,
- [webpack-dev-server] "/tests/fixtures/client-config/static/foo.txt" from static directory was changed. Reloading...,
- [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.,
- [HMR] Waiting for update signal from WDS...,
- Hey.,
-]
-`;
-
-exports[`logging should work and log warning and errors (sockjs) 1`] = `
-[
- Hey.,
- [webpack-dev-server] Warnings while compiling.,
- [webpack-dev-server] WARNING
- ⚠ Error: Warning from compilation
- │ at Object.fn (/tests/e2e/logging.test.js::)
- │ at SyncHook.callAsyncStageRange (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at SyncHook.callStageRange (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at QueriedHook.call (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at /packages/rspack/dist/Compiler.js::
- │ at last.function (/packages/rspack/dist/Compiler.js::)
-,
- [webpack-dev-server] Errors while compiling. Reload prevented.,
- [webpack-dev-server] ERROR
- × Error: Error from compilation
- │ at Object.fn (/tests/e2e/logging.test.js::)
- │ at SyncHook.callAsyncStageRange (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at SyncHook.callStageRange (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at QueriedHook.call (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at /packages/rspack/dist/Compiler.js::
- │ at last.function (/packages/rspack/dist/Compiler.js::)
-,
-]
-`;
-
-exports[`logging should work and log warning and errors (ws) 1`] = `
-[
- Hey.,
- [webpack-dev-server] Warnings while compiling.,
- [webpack-dev-server] WARNING
- ⚠ Error: Warning from compilation
- │ at Object.fn (/tests/e2e/logging.test.js::)
- │ at SyncHook.callAsyncStageRange (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at SyncHook.callStageRange (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at QueriedHook.call (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at /packages/rspack/dist/Compiler.js::
- │ at last.function (/packages/rspack/dist/Compiler.js::)
-,
- [webpack-dev-server] Errors while compiling. Reload prevented.,
- [webpack-dev-server] ERROR
- × Error: Error from compilation
- │ at Object.fn (/tests/e2e/logging.test.js::)
- │ at SyncHook.callAsyncStageRange (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at SyncHook.callStageRange (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at QueriedHook.call (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at /packages/rspack/dist/Compiler.js::
- │ at last.function (/packages/rspack/dist/Compiler.js::)
-,
-]
-`;
-
-exports[`logging should work and log warnings by default (sockjs) 1`] = `
-[
- [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.,
- [HMR] Waiting for update signal from WDS...,
- Hey.,
- [webpack-dev-server] Warnings while compiling.,
- [webpack-dev-server] WARNING
- ⚠ Error: Warning from compilation
- │ at Object.fn (/tests/e2e/logging.test.js::)
- │ at SyncHook.callAsyncStageRange (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at SyncHook.callStageRange (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at QueriedHook.call (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at /packages/rspack/dist/Compiler.js::
- │ at last.function (/packages/rspack/dist/Compiler.js::)
-,
-]
-`;
-
-exports[`logging should work and log warnings by default (ws) 1`] = `
-[
- [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.,
- [HMR] Waiting for update signal from WDS...,
- Hey.,
- [webpack-dev-server] Warnings while compiling.,
- [webpack-dev-server] WARNING
- ⚠ Error: Warning from compilation
- │ at Object.fn (/tests/e2e/logging.test.js::)
- │ at SyncHook.callAsyncStageRange (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at SyncHook.callStageRange (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at QueriedHook.call (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at /packages/rspack/dist/Compiler.js::
- │ at last.function (/packages/rspack/dist/Compiler.js::)
-,
-]
-`;
-
-exports[`logging should work when the "client.logging" is "info" (sockjs) 1`] = `
-[
- [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.,
- [HMR] Waiting for update signal from WDS...,
- Hey.,
-]
-`;
-
-exports[`logging should work when the "client.logging" is "info" (ws) 1`] = `
-[
- [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.,
- [HMR] Waiting for update signal from WDS...,
- Hey.,
-]
-`;
-
-exports[`logging should work when the "client.logging" is "log" (sockjs) 1`] = `
-[
- [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.,
- [HMR] Waiting for update signal from WDS...,
- Hey.,
-]
-`;
-
-exports[`logging should work when the "client.logging" is "log" (ws) 1`] = `
-[
- [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.,
- [HMR] Waiting for update signal from WDS...,
- Hey.,
-]
-`;
-
-exports[`logging should work when the "client.logging" is "none" (sockjs) 1`] = `
-[
- Hey.,
-]
-`;
-
-exports[`logging should work when the "client.logging" is "none" (ws) 1`] = `
-[
- Hey.,
-]
-`;
-
-exports[`logging should work when the "client.logging" is "verbose" (sockjs) 1`] = `
-[
- [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.,
- [HMR] Waiting for update signal from WDS...,
- Hey.,
-]
-`;
-
-exports[`logging should work when the "client.logging" is "verbose" (ws) 1`] = `
-[
- [webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.,
- [HMR] Waiting for update signal from WDS...,
- Hey.,
-]
-`;
diff --git a/packages/rspack-dev-server/tests/e2e/__snapshots__/mime-types.test.js.snap.webpack5 b/packages/rspack-dev-server/tests/e2e/__snapshots__/mime-types.test.js.snap.webpack5
deleted file mode 100644
index 62552683489..00000000000
--- a/packages/rspack-dev-server/tests/e2e/__snapshots__/mime-types.test.js.snap.webpack5
+++ /dev/null
@@ -1,17 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`mimeTypes option as an object with a custom type should request file with different js mime type: console messages 1`] = `[]`;
-
-exports[`mimeTypes option as an object with a custom type should request file with different js mime type: page errors 1`] = `[]`;
-
-exports[`mimeTypes option as an object with a custom type should request file with different js mime type: response headers content-type 1`] = `"text/html; charset=utf-8"`;
-
-exports[`mimeTypes option as an object with a custom type should request file with different js mime type: response status 1`] = `200`;
-
-exports[`mimeTypes option as an object with a remapped type should request file with different js mime type: console messages 1`] = `[]`;
-
-exports[`mimeTypes option as an object with a remapped type should request file with different js mime type: page errors 1`] = `[]`;
-
-exports[`mimeTypes option as an object with a remapped type should request file with different js mime type: response headers content-type 1`] = `"text/plain; charset=utf-8"`;
-
-exports[`mimeTypes option as an object with a remapped type should request file with different js mime type: response status 1`] = `200`;
diff --git a/packages/rspack-dev-server/tests/e2e/__snapshots__/module-federation.test.js.snap.webpack5 b/packages/rspack-dev-server/tests/e2e/__snapshots__/module-federation.test.js.snap.webpack5
deleted file mode 100644
index 8d4ba07250a..00000000000
--- a/packages/rspack-dev-server/tests/e2e/__snapshots__/module-federation.test.js.snap.webpack5
+++ /dev/null
@@ -1,25 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`Module federation should use plugin should contain hot script in main.js: console messages 1`] = `[]`;
-
-exports[`Module federation should use plugin should contain hot script in main.js: page errors 1`] = `[]`;
-
-exports[`Module federation should use plugin should contain hot script in remoteEntry.js: console messages 1`] = `[]`;
-
-exports[`Module federation should use plugin should contain hot script in remoteEntry.js: page errors 1`] = `[]`;
-
-exports[`Module federation should work with multi compiler config should use the last entry export: console messages 1`] = `[]`;
-
-exports[`Module federation should work with multi compiler config should use the last entry export: page errors 1`] = `[]`;
-
-exports[`Module federation should work with object multi-entry config should support the named entry export: console messages 1`] = `[]`;
-
-exports[`Module federation should work with object multi-entry config should support the named entry export: page errors 1`] = `[]`;
-
-exports[`Module federation should work with object multi-entry config should use the last entry export: console messages 1`] = `[]`;
-
-exports[`Module federation should work with object multi-entry config should use the last entry export: page errors 1`] = `[]`;
-
-exports[`Module federation should work with simple multi-entry config should use the last entry export: console messages 1`] = `[]`;
-
-exports[`Module federation should work with simple multi-entry config should use the last entry export: page errors 1`] = `[]`;
diff --git a/packages/rspack-dev-server/tests/e2e/__snapshots__/multi-compiler.test.js.snap.webpack5 b/packages/rspack-dev-server/tests/e2e/__snapshots__/multi-compiler.test.js.snap.webpack5
deleted file mode 100644
index 7a06874d381..00000000000
--- a/packages/rspack-dev-server/tests/e2e/__snapshots__/multi-compiler.test.js.snap.webpack5
+++ /dev/null
@@ -1,265 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`multi compiler should work with one web target configuration and do nothing: console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "Hey.",
-]
-`;
-
-exports[`multi compiler should work with one web target configuration and do nothing: page errors 1`] = `[]`;
-
-exports[`multi compiler should work with universal configuration and do nothing: console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "Hello from the browser",
-]
-`;
-
-exports[`multi compiler should work with universal configuration and do nothing: page errors 1`] = `[]`;
-
-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`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "Hello from the browser",
- "[webpack-dev-server] App updated. Recompiling...",
- "[webpack-dev-server] App hot update...",
- "[HMR] Checking for updates on the server...",
- "[HMR] Cannot apply update. Need to do a full reload!",
- "[HMR] Error: Aborted because ./browser.js is not accepted
-Update propagation: ./browser.js
- ",
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "Hello from the browser",
-]
-`;
-
-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: page errors 1`] = `[]`;
-
-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`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading disabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "Hello from the browser",
- "[webpack-dev-server] App updated. Recompiling...",
- "[webpack-dev-server] App hot update...",
- "[HMR] Checking for updates on the server...",
- "[HMR] Cannot apply update. Need to do a full reload!",
- "[HMR] Error: Aborted because ./browser.js is not accepted
-Update propagation: ./browser.js
- ",
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading disabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "Hello from the browser",
-]
-`;
-
-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: page errors 1`] = `[]`;
-
-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`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "Hello from the browser",
- "[webpack-dev-server] App updated. Recompiling...",
- "[webpack-dev-server] App updated. Reloading...",
- "[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "Hello from the browser",
-]
-`;
-
-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`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "Hello from the browser",
- "[webpack-dev-server] App updated. Recompiling...",
- "[webpack-dev-server] App updated. Reloading...",
- "[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "Hello from the browser",
-]
-`;
-
-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: page errors 1`] = `[]`;
-
-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: page errors 2`] = `[]`;
-
-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`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "Hello from the browser",
- "[webpack-dev-server] App updated. Recompiling...",
- "[webpack-dev-server] App updated. Reloading...",
- "[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "Hello from the browser",
-]
-`;
-
-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`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "Hello from the browser",
- "[webpack-dev-server] App updated. Recompiling...",
- "[webpack-dev-server] App updated. Reloading...",
- "[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "Hello from the browser",
-]
-`;
-
-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: page errors 1`] = `[]`;
-
-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: page errors 2`] = `[]`;
-
-exports[`multi compiler should work with web target configurations and do nothing: console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "one",
-]
-`;
-
-exports[`multi compiler should work with web target configurations and do nothing: console messages 2`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "two",
-]
-`;
-
-exports[`multi compiler should work with web target configurations and do nothing: page errors 1`] = `[]`;
-
-exports[`multi compiler should work with web target configurations and do nothing: page errors 2`] = `[]`;
-
-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`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "one",
- "[webpack-dev-server] App updated. Recompiling...",
- "[webpack-dev-server] App hot update...",
- "[HMR] Checking for updates on the server...",
- "[HMR] Cannot apply update. Need to do a full reload!",
- "[HMR] Error: Aborted because ./one.js is not accepted
-Update propagation: ./one.js
- ",
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "one",
-]
-`;
-
-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`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "two",
- "[webpack-dev-server] App updated. Recompiling...",
- "[webpack-dev-server] App hot update...",
- "[HMR] Checking for updates on the server...",
- "[HMR] Cannot apply update. Need to do a full reload!",
- "[HMR] Error: Aborted because ./two.js is not accepted
-Update propagation: ./two.js
- ",
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "two",
-]
-`;
-
-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: page errors 1`] = `[]`;
-
-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: page errors 2`] = `[]`;
-
-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`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading disabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "one",
- "[webpack-dev-server] App updated. Recompiling...",
- "[webpack-dev-server] App hot update...",
- "[HMR] Checking for updates on the server...",
- "[HMR] Cannot apply update. Need to do a full reload!",
- "[HMR] Error: Aborted because ./one.js is not accepted
-Update propagation: ./one.js
- ",
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading disabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "one",
-]
-`;
-
-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`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading disabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "two",
- "[webpack-dev-server] App updated. Recompiling...",
- "[webpack-dev-server] App hot update...",
- "[HMR] Checking for updates on the server...",
- "[HMR] Cannot apply update. Need to do a full reload!",
- "[HMR] Error: Aborted because ./two.js is not accepted
-Update propagation: ./two.js
- ",
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading disabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "two",
-]
-`;
-
-exports[`multi compiler should work with web target configurations when only hot reload is enabled, and do hot reload when changing own entries: page errors 1`] = `[]`;
-
-exports[`multi compiler should work with web target configurations when only hot reload is enabled, and do hot reload when changing own entries: page errors 2`] = `[]`;
-
-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`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "one",
- "[webpack-dev-server] App updated. Recompiling...",
- "[webpack-dev-server] App updated. Reloading...",
- "[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "one",
-]
-`;
-
-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`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "two",
- "[webpack-dev-server] App updated. Recompiling...",
- "[webpack-dev-server] App updated. Reloading...",
- "[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "two",
-]
-`;
-
-exports[`multi compiler should work with web target configurations when only live reload is enabled and do live reload when changing other entries: page errors 1`] = `[]`;
-
-exports[`multi compiler should work with web target configurations when only live reload is enabled and do live reload when changing other entries: page errors 2`] = `[]`;
-
-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`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "one",
- "[webpack-dev-server] App updated. Recompiling...",
- "[webpack-dev-server] App updated. Reloading...",
- "[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "one",
-]
-`;
-
-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`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "two",
- "[webpack-dev-server] App updated. Recompiling...",
- "[webpack-dev-server] App updated. Reloading...",
- "[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "two",
-]
-`;
-
-exports[`multi compiler should work with web target configurations when only live reload is enabled, and do live reload when changing own entries: page errors 1`] = `[]`;
-
-exports[`multi compiler should work with web target configurations when only live reload is enabled, and do live reload when changing own entries: page errors 2`] = `[]`;
diff --git a/packages/rspack-dev-server/tests/e2e/__snapshots__/on-listening.test.js.snap.webpack5 b/packages/rspack-dev-server/tests/e2e/__snapshots__/on-listening.test.js.snap.webpack5
deleted file mode 100644
index 3a34989809a..00000000000
--- a/packages/rspack-dev-server/tests/e2e/__snapshots__/on-listening.test.js.snap.webpack5
+++ /dev/null
@@ -1,21 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`onListening option should handle GET request to /listening/some/path route: console messages 1`] = `[]`;
-
-exports[`onListening option should handle GET request to /listening/some/path route: page errors 1`] = `[]`;
-
-exports[`onListening option should handle GET request to /listening/some/path route: response headers content-type 1`] = `"text/html; charset=utf-8"`;
-
-exports[`onListening option should handle GET request to /listening/some/path route: response status 1`] = `200`;
-
-exports[`onListening option should handle GET request to /listening/some/path route: response text 1`] = `"listening"`;
-
-exports[`onListening option should handle POST request to /listening/some/path route: console messages 1`] = `[]`;
-
-exports[`onListening option should handle POST request to /listening/some/path route: page errors 1`] = `[]`;
-
-exports[`onListening option should handle POST request to /listening/some/path route: response headers content-type 1`] = `"text/html; charset=utf-8"`;
-
-exports[`onListening option should handle POST request to /listening/some/path route: response status 1`] = `200`;
-
-exports[`onListening option should handle POST request to /listening/some/path route: response text 1`] = `"listening POST"`;
diff --git a/packages/rspack-dev-server/tests/e2e/__snapshots__/overlay.test.js.snap.webpack5 b/packages/rspack-dev-server/tests/e2e/__snapshots__/overlay.test.js.snap.webpack5
deleted file mode 100644
index 94441ff128a..00000000000
--- a/packages/rspack-dev-server/tests/e2e/__snapshots__/overlay.test.js.snap.webpack5
+++ /dev/null
@@ -1,3126 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`overlay should not show a warning when "client.overlay" is "false": page html 1`] = `
-
-
webpack-dev-server is running...
-
-
-
-`;
-
-exports[`overlay should not show a warning when "client.overlay.warnings" is "false": page html 1`] = `
-
-
webpack-dev-server is running...
-
-
-
-`;
-
-exports[`overlay should not show an error when "client.overlay" is "false": page html 1`] = `
-
-
webpack-dev-server is running...
-
-
-
-`;
-
-exports[`overlay should not show an error when "client.overlay.errors" is "false": page html 1`] = `
-
-
webpack-dev-server is running...
-
-
-
-`;
-
-exports[`overlay should not show initially, then show on an error and allow to close: overlay html 1`] = `
-
-
-
- Compiled with problems:
-
-
-
-
-
- ERROR in ./foo.js
-
-
- × Module parse failed: ╰─▶ × JavaScript parsing error: Unexpected eof
- ╭──── 1 │ \`; ╰──── help: You may need an appropriate loader to handle
- this file type.
-
-
-
-
-
-
-`;
-
-exports[`overlay should not show initially, then show on an error and allow to close: page html after close 1`] = `
-
-
webpack-dev-server is running...
-
-
-
-`;
-
-exports[`overlay should not show initially, then show on an error and allow to close: page html initial 1`] = `
-
-
webpack-dev-server is running...
-
-
-
-`;
-
-exports[`overlay should not show initially, then show on an error and allow to close: page html with error 1`] = `
-
-
webpack-dev-server is running...
-
-
-
-
-
-`;
-
-exports[`overlay should not show initially, then show on an error, then hide on fix: overlay html 1`] = `
-
-
-
- Compiled with problems:
-
-
-
-
-
- ERROR in ./foo.js
-
-
- × Module parse failed: ╰─▶ × JavaScript parsing error: Unexpected eof
- ╭──── 1 │ \`; ╰──── help: You may need an appropriate loader to handle
- this file type.
-
-
-
-
-
-
-`;
-
-exports[`overlay should not show initially, then show on an error, then hide on fix: page html after fix error 1`] = `
-
-
webpack-dev-server is running...
-
-
-
-`;
-
-exports[`overlay should not show initially, then show on an error, then hide on fix: page html initial 1`] = `
-
-
webpack-dev-server is running...
-
-
-
-`;
-
-exports[`overlay should not show initially, then show on an error, then hide on fix: page html with error 1`] = `
-
-
webpack-dev-server is running...
-
-
-
-
-
-`;
-
-exports[`overlay should not show initially, then show on an error, then show other error, then hide on fix: overlay html 1`] = `
-
-
-
- Compiled with problems:
-
-
-
-
-
- ERROR in ./foo.js
-
-
- × Module parse failed: ╰─▶ × JavaScript parsing error: Unexpected eof
- ╭──── 1 │ \`; ╰──── help: You may need an appropriate loader to handle
- this file type.
-
-
-
-
-
-
-`;
-
-exports[`overlay should not show initially, then show on an error, then show other error, then hide on fix: overlay html 2`] = `
-
-
-
- Compiled with problems:
-
-
-
-
-
- ERROR in ./foo.js
-
-
- × Module parse failed: ╰─▶ × JavaScript parsing error: Unexpected eof
- ╭──── 1 │ \`;a ╰──── help: You may need an appropriate loader to handle
- this file type.
-
-
-
-
-
-
-`;
-
-exports[`overlay should not show initially, then show on an error, then show other error, then hide on fix: page html after fix error 1`] = `
-
-
webpack-dev-server is running...
-
-
-
-`;
-
-exports[`overlay should not show initially, then show on an error, then show other error, then hide on fix: page html initial 1`] = `
-
-
webpack-dev-server is running...
-
-
-
-`;
-
-exports[`overlay should not show initially, then show on an error, then show other error, then hide on fix: page html with error 1`] = `
-
-
webpack-dev-server is running...
-
-
-
-
-
-`;
-
-exports[`overlay should not show initially, then show on an error, then show other error, then hide on fix: page html with other error 1`] = `
-
-
webpack-dev-server is running...
-
-
-
-
-
-`;
-
-exports[`overlay should not show overlay when Trusted Types are enabled, but policy is not allowed: page html 1`] = `
-
-
webpack-dev-server is running...
-
-
-
-`;
-
-exports[`overlay should show a warning after invalidation: overlay html 1`] = `
-
-
-
- Compiled with problems:
-
-
-
-
-
- WARNING
-
-
- ⚠ Error: Warning from compilation │ at Object.fn
- (/tests/e2e/overlay.test.js::)
- │ at SyncHook.callAsyncStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at SyncHook.callStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at QueriedHook.call
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at
- /packages/rspack/dist/Compiler.js::
- │ at last.function
- (/packages/rspack/dist/Compiler.js::)
-
-
-
-
-
-
-`;
-
-exports[`overlay should show a warning after invalidation: page html 1`] = `
-
-
webpack-dev-server is running...
-
-
-
-
-
-`;
-
-exports[`overlay should show a warning and error for initial compilation and protects against xss: overlay html 1`] = `
-
-
-
- Compiled with problems:
-
-
-
-
-
- ERROR
-
-
- ⚠ Error: <strong>strong</strong> │ at Object.fn
- (/tests/e2e/overlay.test.js::)
- │ at SyncHook.callAsyncStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at SyncHook.callStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at QueriedHook.call
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at
- /packages/rspack/dist/Compiler.js::
- │ at last.function
- (/packages/rspack/dist/Compiler.js::)
-
-
-
-
- ERROR
-
-
- × Error: <strong>strong</strong> │ at Object.fn
- (/tests/e2e/overlay.test.js::)
- │ at SyncHook.callAsyncStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at SyncHook.callStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at QueriedHook.call
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at
- /packages/rspack/dist/Compiler.js::
- │ at last.function
- (/packages/rspack/dist/Compiler.js::)
-
-
-
-
-
-
-`;
-
-exports[`overlay should show a warning and error for initial compilation and protects against xss: page html 1`] = `
-
-
webpack-dev-server is running...
-
-
-
-
-
-`;
-
-exports[`overlay should show a warning and error for initial compilation: overlay html 1`] = `
-
-
-
- Compiled with problems:
-
-
-
-
-
- ERROR
-
-
- ⚠ Error: Warning from compilation │ at Object.fn
- (/tests/e2e/overlay.test.js::)
- │ at SyncHook.callAsyncStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at SyncHook.callStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at QueriedHook.call
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at
- /packages/rspack/dist/Compiler.js::
- │ at last.function
- (/packages/rspack/dist/Compiler.js::)
-
-
-
-
- ERROR
-
-
- ⚠ Error: Warning from compilation │ at Object.fn
- (/tests/e2e/overlay.test.js::)
- │ at SyncHook.callAsyncStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at SyncHook.callStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at QueriedHook.call
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at
- /packages/rspack/dist/Compiler.js::
- │ at last.function
- (/packages/rspack/dist/Compiler.js::)
-
-
-
-
- ERROR
-
-
- × Error: Error from compilation. Can't find 'test' module. │ at
- Object.fn
- (/tests/e2e/overlay.test.js::)
- │ at SyncHook.callAsyncStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at SyncHook.callStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at QueriedHook.call
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at
- /packages/rspack/dist/Compiler.js::
- │ at last.function
- (/packages/rspack/dist/Compiler.js::)
-
-
-
-
- ERROR
-
-
- × Error: Error from compilation. Can't find 'test' module. │ at
- Object.fn
- (/tests/e2e/overlay.test.js::)
- │ at SyncHook.callAsyncStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at SyncHook.callStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at QueriedHook.call
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at
- /packages/rspack/dist/Compiler.js::
- │ at last.function
- (/packages/rspack/dist/Compiler.js::)
-
-
-
-
- ERROR
-
-
- × Error: Error from compilation. Can't find 'test' module. │ at
- Object.fn
- (/tests/e2e/overlay.test.js::)
- │ at SyncHook.callAsyncStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at SyncHook.callStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at QueriedHook.call
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at
- /packages/rspack/dist/Compiler.js::
- │ at last.function
- (/packages/rspack/dist/Compiler.js::)
-
-
-
-
-
-
-`;
-
-exports[`overlay should show a warning and error for initial compilation: page html 1`] = `
-
-
webpack-dev-server is running...
-
-
-
-
-
-`;
-
-exports[`overlay should show a warning and hide them after closing connection: overlay html 1`] = `
-
-
-
- Compiled with problems:
-
-
-
-
-
- WARNING
-
-
- ⚠ Error: Warning from compilation │ at Object.fn
- (/tests/e2e/overlay.test.js::)
- │ at SyncHook.callAsyncStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at SyncHook.callStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at QueriedHook.call
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at
- /packages/rspack/dist/Compiler.js::
- │ at last.function
- (/packages/rspack/dist/Compiler.js::)
-
-
-
-
-
-
-`;
-
-exports[`overlay should show a warning and hide them after closing connection: page html 1`] = `
-
-
webpack-dev-server is running...
-
-
-
-
-
-`;
-
-exports[`overlay should show a warning and hide them after closing connection: page html 2`] = `
-
-
webpack-dev-server is running...
-
-
-
-`;
-
-exports[`overlay should show a warning for initial compilation: overlay html 1`] = `
-
-
-
- Compiled with problems:
-
-
-
-
-
- WARNING
-
-
- ⚠ Error: Warning from compilation │ at Object.fn
- (/tests/e2e/overlay.test.js::)
- │ at SyncHook.callAsyncStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at SyncHook.callStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at QueriedHook.call
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at
- /packages/rspack/dist/Compiler.js::
- │ at last.function
- (/packages/rspack/dist/Compiler.js::)
-
-
-
-
-
-
-`;
-
-exports[`overlay should show a warning for initial compilation: page html 1`] = `
-
-
webpack-dev-server is running...
-
-
-
-
-
-`;
-
-exports[`overlay should show a warning when "client.overlay" is "true": overlay html 1`] = `
-
-
-
- Compiled with problems:
-
-
-
-
-
- WARNING
-
-
- ⚠ Error: Warning from compilation │ at Object.fn
- (/tests/e2e/overlay.test.js::)
- │ at SyncHook.callAsyncStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at SyncHook.callStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at QueriedHook.call
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at
- /packages/rspack/dist/Compiler.js::
- │ at last.function
- (/packages/rspack/dist/Compiler.js::)
-
-
-
-
-
-
-`;
-
-exports[`overlay should show a warning when "client.overlay" is "true": page html 1`] = `
-
-
webpack-dev-server is running...
-
-
-
-
-
-`;
-
-exports[`overlay should show a warning when "client.overlay.errors" is "true": overlay html 1`] = `
-
-
-
- Compiled with problems:
-
-
-
-
-
- WARNING
-
-
- ⚠ Error: Warning from compilation │ at Object.fn
- (/tests/e2e/overlay.test.js::)
- │ at SyncHook.callAsyncStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at SyncHook.callStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at QueriedHook.call
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at
- /packages/rspack/dist/Compiler.js::
- │ at last.function
- (/packages/rspack/dist/Compiler.js::)
-
-
-
-
-
-
-`;
-
-exports[`overlay should show a warning when "client.overlay.errors" is "true": page html 1`] = `
-
-
webpack-dev-server is running...
-
-
-
-
-
-`;
-
-exports[`overlay should show a warning when "client.overlay.warnings" is "true": overlay html 1`] = `
-
-
-
- Compiled with problems:
-
-
-
-
-
- WARNING
-
-
- ⚠ Error: Warning from compilation │ at Object.fn
- (/tests/e2e/overlay.test.js::)
- │ at SyncHook.callAsyncStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at SyncHook.callStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at QueriedHook.call
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at
- /packages/rspack/dist/Compiler.js::
- │ at last.function
- (/packages/rspack/dist/Compiler.js::)
-
-
-
-
-
-
-`;
-
-exports[`overlay should show a warning when "client.overlay.warnings" is "true": page html 1`] = `
-
-
webpack-dev-server is running...
-
-
-
-
-
-`;
-
-exports[`overlay should show an ansi formatted error for initial compilation: overlay html 1`] = `
-
-
-
- Compiled with problems:
-
-
-
-
-
- ERROR
-
-
- × Error:
-
- 18 |
- Render
- ansi formatted text
- │ at Object.fn
- (/tests/e2e/overlay.test.js::)
- │ at SyncHook.callAsyncStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at SyncHook.callStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at QueriedHook.call
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at
- /packages/rspack/dist/Compiler.js::
- │ at last.function
- (/packages/rspack/dist/Compiler.js::)
-
-
-
-
-
-
-
-`;
-
-exports[`overlay should show an ansi formatted error for initial compilation: page html 1`] = `
-
-
webpack-dev-server is running...
-
-
-
-
-
-`;
-
-exports[`overlay should show an error after invalidation: overlay html 1`] = `
-
-
-
- Compiled with problems:
-
-
-
-
-
- ERROR
-
-
- × Error: Error from compilation │ at Object.fn
- (/tests/e2e/overlay.test.js::)
- │ at SyncHook.callAsyncStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at SyncHook.callStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at QueriedHook.call
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at
- /packages/rspack/dist/Compiler.js::
- │ at last.function
- (/packages/rspack/dist/Compiler.js::)
-
-
-
-
-
-
-`;
-
-exports[`overlay should show an error after invalidation: page html 1`] = `
-
-
webpack-dev-server is running...
-
-
-
-
-
-`;
-
-exports[`overlay should show an error for initial compilation: overlay html 1`] = `
-
-
-
- Compiled with problems:
-
-
-
-
-
- ERROR
-
-
- × Error: Error from compilation. Can't find 'test' module. │ at
- Object.fn
- (/tests/e2e/overlay.test.js::)
- │ at SyncHook.callAsyncStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at SyncHook.callStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at QueriedHook.call
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at
- /packages/rspack/dist/Compiler.js::
- │ at last.function
- (/packages/rspack/dist/Compiler.js::)
-
-
-
-
-
-
-`;
-
-exports[`overlay should show an error for initial compilation: page html 1`] = `
-
-
webpack-dev-server is running...
-
-
-
-
-
-`;
-
-exports[`overlay should show an error when "client.overlay" is "true": overlay html 1`] = `
-
-
-
- Compiled with problems:
-
-
-
-
-
- ERROR
-
-
- × Error: Error from compilation. Can't find 'test' module. │ at
- Object.fn
- (/tests/e2e/overlay.test.js::)
- │ at SyncHook.callAsyncStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at SyncHook.callStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at QueriedHook.call
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at
- /packages/rspack/dist/Compiler.js::
- │ at last.function
- (/packages/rspack/dist/Compiler.js::)
-
-
-
-
-
-
-`;
-
-exports[`overlay should show an error when "client.overlay" is "true": page html 1`] = `
-
-
webpack-dev-server is running...
-
-
-
-
-
-`;
-
-exports[`overlay should show an error when "client.overlay.errors" is "true": overlay html 1`] = `
-
-
-
- Compiled with problems:
-
-
-
-
-
- ERROR
-
-
- × Error: Error from compilation. Can't find 'test' module. │ at
- Object.fn
- (/tests/e2e/overlay.test.js::)
- │ at SyncHook.callAsyncStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at SyncHook.callStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at QueriedHook.call
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at
- /packages/rspack/dist/Compiler.js::
- │ at last.function
- (/packages/rspack/dist/Compiler.js::)
-
-
-
-
-
-
-`;
-
-exports[`overlay should show an error when "client.overlay.errors" is "true": page html 1`] = `
-
-
webpack-dev-server is running...
-
-
-
-
-
-`;
-
-exports[`overlay should show an error when "client.overlay.warnings" is "true": overlay html 1`] = `
-
-
-
- Compiled with problems:
-
-
-
-
-
- WARNING
-
-
- ⚠ Error: Warning from compilation │ at Object.fn
- (/tests/e2e/overlay.test.js::)
- │ at SyncHook.callAsyncStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at SyncHook.callStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at QueriedHook.call
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at
- /packages/rspack/dist/Compiler.js::
- │ at last.function
- (/packages/rspack/dist/Compiler.js::)
-
-
-
-
-
-
-`;
-
-exports[`overlay should show an error when "client.overlay.warnings" is "true": page html 1`] = `
-
-
webpack-dev-server is running...
-
-
-
-
-
-`;
-
-exports[`overlay should show error for uncaught promise rejection: overlay html 1`] = `
-
-
-
- Uncaught runtime errors:
-
-
-
-
-
- ERROR
-
-
- Async error at <anonymous>::
-
-
-
-
-
-
-`;
-
-exports[`overlay should show error for uncaught runtime error: overlay html 1`] = `
-
-
-
- Uncaught runtime errors:
-
-
-
-
-
- ERROR
-
-
- Injected error at throwError (<anonymous>::) at
- <anonymous>::
-
-
-
-
-
-
-`;
-
-exports[`overlay should show error when it is not filtered: overlay html 1`] = `
-
-
-
- Compiled with problems:
-
-
-
-
-
- ERROR
-
-
- × Error: Unfiltered error │ at Object.fn
- (/tests/e2e/overlay.test.js::)
- │ at SyncHook.callAsyncStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at SyncHook.callStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at QueriedHook.call
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at
- /packages/rspack/dist/Compiler.js::
- │ at last.function
- (/packages/rspack/dist/Compiler.js::)
-
-
-
-
-
-
-`;
-
-exports[`overlay should show error when it is not filtered: page html 1`] = `
-
-
webpack-dev-server is running...
-
-
-
-
-
-`;
-
-exports[`overlay should show overlay when "Content-Security-Policy" is "default-src 'self'" was used: overlay html 1`] = `
-
-
-
- Compiled with problems:
-
-
-
-
-
- ERROR
-
-
- × Error: Error from compilation. Can't find 'test' module. │ at
- Object.fn
- (/tests/e2e/overlay.test.js::)
- │ at SyncHook.callAsyncStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at SyncHook.callStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at QueriedHook.call
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at
- /packages/rspack/dist/Compiler.js::
- │ at last.function
- (/packages/rspack/dist/Compiler.js::)
-
-
-
-
-
-
-`;
-
-exports[`overlay should show overlay when "Content-Security-Policy" is "default-src 'self'" was used: page html 1`] = `
-
-
webpack-dev-server is running...
-
-
-
-
-
-`;
-
-exports[`overlay should show overlay when Trusted Types are enabled and the "require-trusted-types-for 'script'" header was used: overlay html 1`] = `
-
-
-
- Compiled with problems:
-
-
-
-
-
- ERROR
-
-
- × Error: Error from compilation. Can't find 'test' module. │ at
- Object.fn
- (/tests/e2e/overlay.test.js::)
- │ at SyncHook.callAsyncStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at SyncHook.callStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at QueriedHook.call
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at
- /packages/rspack/dist/Compiler.js::
- │ at last.function
- (/packages/rspack/dist/Compiler.js::)
-
-
-
-
-
-
-`;
-
-exports[`overlay should show overlay when Trusted Types are enabled and the "require-trusted-types-for 'script'" header was used: page html 1`] = `
-
-
webpack-dev-server is running...
-
-
-
-
-
-`;
-
-exports[`overlay should show overlay when Trusted Types are enabled: overlay html 1`] = `
-
-
-
- Compiled with problems:
-
-
-
-
-
- ERROR
-
-
- × Error: Error from compilation. Can't find 'test' module. │ at
- Object.fn
- (/tests/e2e/overlay.test.js::)
- │ at SyncHook.callAsyncStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at SyncHook.callStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at QueriedHook.call
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at
- /packages/rspack/dist/Compiler.js::
- │ at last.function
- (/packages/rspack/dist/Compiler.js::)
-
-
-
-
-
-
-`;
-
-exports[`overlay should show overlay when Trusted Types are enabled: page html 1`] = `
-
-
webpack-dev-server is running...
-
-
-
-
-
-`;
-
-exports[`overlay should show warning when it is not filtered: overlay html 1`] = `
-
-
-
- Compiled with problems:
-
-
-
-
-
- WARNING
-
-
- ⚠ Error: Unfiltered warning │ at Object.fn
- (/tests/e2e/overlay.test.js::)
- │ at SyncHook.callAsyncStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at SyncHook.callStageRange
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at QueriedHook.call
- (/node_modules/.pnpm/@rspack+lite-tapable@1.0.0/node_modules/@rspack/lite-tapable/dist/index.js::)
- │ at
- /packages/rspack/dist/Compiler.js::
- │ at last.function
- (/packages/rspack/dist/Compiler.js::)
-
-
-
-
-
-
-`;
-
-exports[`overlay should show warning when it is not filtered: page html 1`] = `
-
-
webpack-dev-server is running...
-
-
-
-
-
-`;
diff --git a/packages/rspack-dev-server/tests/e2e/__snapshots__/port.test.js.snap.webpack5 b/packages/rspack-dev-server/tests/e2e/__snapshots__/port.test.js.snap.webpack5
deleted file mode 100644
index 56c9509a19d..00000000000
--- a/packages/rspack-dev-server/tests/e2e/__snapshots__/port.test.js.snap.webpack5
+++ /dev/null
@@ -1,61 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`port should work using "" port : console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "Hey.",
-]
-`;
-
-exports[`port should work using "" port : page errors 1`] = `[]`;
-
-exports[`port should work using "0" port : console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "Hey.",
-]
-`;
-
-exports[`port should work using "0" port : page errors 1`] = `[]`;
-
-exports[`port should work using "8161" port : console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "Hey.",
-]
-`;
-
-exports[`port should work using "8161" port : console messages 2`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "Hey.",
-]
-`;
-
-exports[`port should work using "8161" port : page errors 1`] = `[]`;
-
-exports[`port should work using "8161" port : page errors 2`] = `[]`;
-
-exports[`port should work using "auto" port : console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "Hey.",
-]
-`;
-
-exports[`port should work using "auto" port : page errors 1`] = `[]`;
-
-exports[`port should work using "undefined" port : console messages 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "Hey.",
-]
-`;
-
-exports[`port should work using "undefined" port : page errors 1`] = `[]`;
diff --git a/packages/rspack-dev-server/tests/e2e/__snapshots__/server-and-client-transport.test.js.snap.webpack5 b/packages/rspack-dev-server/tests/e2e/__snapshots__/server-and-client-transport.test.js.snap.webpack5
deleted file mode 100644
index 6fa2cfc536f..00000000000
--- a/packages/rspack-dev-server/tests/e2e/__snapshots__/server-and-client-transport.test.js.snap.webpack5
+++ /dev/null
@@ -1,107 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`server and client transport should throw an error on invalid path to client transport 1`] = `"client.webSocketTransport must be a string denoting a default implementation (e.g. 'sockjs', 'ws') or a full path to a JS file via require.resolve(...) which exports a class "`;
-
-exports[`server and client transport should throw an error on invalid path to server transport 1`] = `"webSocketServer (webSocketServer.type) must be a string denoting a default implementation (e.g. 'ws', 'sockjs'), a full path to a JS file which exports a class extending BaseServer (webpack-dev-server/lib/servers/BaseServer.js) via require.resolve(...), or the class itself which extends BaseServer"`;
-
-exports[`server and client transport should throw an error on wrong path 1`] = `"webSocketServer (webSocketServer.type) must be a string denoting a default implementation (e.g. 'ws', 'sockjs'), a full path to a JS file which exports a class extending BaseServer (webpack-dev-server/lib/servers/BaseServer.js) via require.resolve(...), or the class itself which extends BaseServer"`;
-
-exports[`server and client transport should use "sockjs" transport and "sockjs" web socket server 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
-]
-`;
-
-exports[`server and client transport should use "sockjs" transport, when web socket server is not specify 1`] = `[]`;
-
-exports[`server and client transport should use "sockjs" web socket server when specify "sockjs" value 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
-]
-`;
-
-exports[`server and client transport should use "sockjs" web socket server when specify "sockjs" value using object 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
-]
-`;
-
-exports[`server and client transport should use "ws" transport and "ws" web socket server 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
-]
-`;
-
-exports[`server and client transport should use "ws" transport, when web socket server is not specify 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
-]
-`;
-
-exports[`server and client transport should use "ws" web socket server when specify "ws" value 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
-]
-`;
-
-exports[`server and client transport should use "ws" web socket server when specify "ws" value using object 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
-]
-`;
-
-exports[`server and client transport should use custom transport and "sockjs" web socket server 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "open",
- "hot",
- "liveReload",
- "reconnect",
- "overlay",
- "hash",
- "ok",
-]
-`;
-
-exports[`server and client transport should use custom web socket server when specify class 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
-]
-`;
-
-exports[`server and client transport should use custom web socket server when specify class using object 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
-]
-`;
-
-exports[`server and client transport should use custom web socket server when specify path to class 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
-]
-`;
-
-exports[`server and client transport should use custom web socket server when specify path to class using object 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
-]
-`;
-
-exports[`server and client transport should use default web socket server ("ws") 1`] = `
-[
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
-]
-`;
diff --git a/packages/rspack-dev-server/tests/e2e/__snapshots__/server.test.js.snap.webpack5 b/packages/rspack-dev-server/tests/e2e/__snapshots__/server.test.js.snap.webpack5
deleted file mode 100644
index dabcd217098..00000000000
--- a/packages/rspack-dev-server/tests/e2e/__snapshots__/server.test.js.snap.webpack5
+++ /dev/null
@@ -1,604 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`server option as object allow to pass more options should handle GET request to index route (/): console messages 1`] = `[]`;
-
-exports[`server option as object allow to pass more options should handle GET request to index route (/): https options 1`] = `
-{
- "ca": "",
- "cert": "",
- "key": "",
- "minVersion": "TLSv1.1",
- "passphrase": "webpack-dev-server",
- "pfx": "",
- "requestCert": false,
-}
-`;
-
-exports[`server option as object allow to pass more options should handle GET request to index route (/): page errors 1`] = `[]`;
-
-exports[`server option as object allow to pass more options should handle GET request to index route (/): response status 1`] = `200`;
-
-exports[`server option as object allow to pass more options should handle GET request to index route (/): response text 1`] = `
-"Heyo.
-"
-`;
-
-exports[`server option as object ca, pfx, key and cert are array of buffers should handle GET request to index route (/): console messages 1`] = `[]`;
-
-exports[`server option as object ca, pfx, key and cert are array of buffers should handle GET request to index route (/): https options 1`] = `
-{
- "ca": [
- "",
- ],
- "cert": [
- "",
- ],
- "key": [
- "",
- ],
- "passphrase": "webpack-dev-server",
- "pfx": [
- "",
- ],
- "requestCert": false,
-}
-`;
-
-exports[`server option as object ca, pfx, key and cert are array of buffers should handle GET request to index route (/): page errors 1`] = `[]`;
-
-exports[`server option as object ca, pfx, key and cert are array of buffers should handle GET request to index route (/): response status 1`] = `200`;
-
-exports[`server option as object ca, pfx, key and cert are array of buffers should handle GET request to index route (/): response text 1`] = `
-"Heyo.
-"
-`;
-
-exports[`server option as object ca, pfx, key and cert are array of paths to files should handle GET request to index route (/): console messages 1`] = `[]`;
-
-exports[`server option as object ca, pfx, key and cert are array of paths to files should handle GET request to index route (/): https options 1`] = `
-{
- "ca": [
- "",
- ],
- "cert": [
- "",
- ],
- "key": [
- "",
- ],
- "passphrase": "webpack-dev-server",
- "pfx": [
- "",
- ],
- "requestCert": false,
-}
-`;
-
-exports[`server option as object ca, pfx, key and cert are array of paths to files should handle GET request to index route (/): page errors 1`] = `[]`;
-
-exports[`server option as object ca, pfx, key and cert are array of paths to files should handle GET request to index route (/): response status 1`] = `200`;
-
-exports[`server option as object ca, pfx, key and cert are array of paths to files should handle GET request to index route (/): response text 1`] = `
-"Heyo.
-"
-`;
-
-exports[`server option as object ca, pfx, key and cert are array of strings should handle GET request to index route (/): console messages 1`] = `[]`;
-
-exports[`server option as object ca, pfx, key and cert are array of strings should handle GET request to index route (/): https options 1`] = `
-{
- "ca": [
- "-----BEGIN RSA PRIVATE KEY-----
-MIIEpQIBAAKCAQEAxAUVLFM+K3XDLQkBi7xt0s1Ip7JoHYDskzUDQNHjjMkUq5kv
-C/hf5Ei1J6qruJs3Xqg86Nl4+ed4ynUajAkRRibhp0P1SG1tgPssIK6iC7g8heYu
-Dy9WkFuMie0513zjSn6bMEAK5TegxYAWCbaCZX/Fw9bDniabL/zuOv4sf8J4EPhs
-EENnH6sUE9HxPUgQmNt1Tbd0j1Cd5PXrSTLyfVPRh0m9QhXTUHuxsse8XSn9U2sw
-duxJTWRINmhffYn+O7kbJGI77xYr8u58Rsf3HCMI8DTKZNvQLChvvtLJ9ckyu7Q+
-T8emgklStASm3V2UtnriaK/IQEhgSdxqVRib3QIDAQABAoIBAGqWKPE1QnT3T+3J
-G+ITz9P0dDFbvWltlTZmeSJh/s2q+WZloUNtBxdmwbqT/1QecnkyGgyzVCjvSKsu
-CgVjWNVAhysgtNtxRT4BVflffBXLVH2qsBjpsLRGU6EcMXuPGTiEp3YRHNuO6Aj8
-oP8fEsCGPc9DlJMGgxQRAKlrVF8TN/0j6Qk+YpS4MZ0YFQfBY+WdKu04Z8TVTplQ
-tTkiGpBI+Oj85jF59aQiizglJgADkAZ6zmbrctm/G9jPxh7JLS2cKI0ECZgK5yAc
-pk10E1YWhoCksjr9arxy6fS9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xqbwKBgQDdy03KidbPZuycJSy1C9AIt0jlrxDsYm+U
-fZrB6mHEZcgoZS5GbLKinQCdGcgERa05BXvJmNbfZtT5a37YEnbjsTImIhDiBP5P
-nW36/9a3Vg1svd1KP2206/Bh3gfZbgTsQg4YogXgjf0Uzuvw18btgTtLVpVyeuqz
-TU3eeF30cwKBgQCN6lvOmapsDEs+T3uhqx4AUH53qp63PmjOSUAnANJGmsq6ROZV
-HmHAy6nn9Qpf85BRHCXhZWiMoIhvc3As/EINNtWxS6hC/q6jqp4SvcD50cVFBroY
-/16iWGXZCX+37A+DSOfTWgSDPEFcKRx41UOpStHbITgVgEPieo/NWxlHmQKBgQDX
-JOLs2RB6V0ilnpnjdPXzvncD9fHgmwvJap24BPeZX3HtXViqD76oZsu1mNCg9EW3
-zk3pnEyyoDlvSIreZerVq4kN3HWsCVP3Pqr0kz9g0CRtmy8RWr28hjHDfXD3xPUZ
-iGnMEz7IOHOKv722/liFAprV1cNaLUmFbDNg3jmlaQKBgQDG5WwngPhOHmjTnSml
-amfEz9a4yEhQqpqgVNW5wwoXOf6DbjL2m/maJh01giThj7inMcbpkZlIclxD0Eu6
-Lof+ctCeqSAJvaVPmd+nv8Yp26zsF1yM8ax9xXjrIvv9fSbycNveGTDCsNNTiYoW
-QyvMqmN1kGy20SZbQDD/fLfqBQ==
------END PRIVATE KEY-----
-",
- ],
- "passphrase": "webpack-dev-server",
- "pfx": [
- "",
- ],
- "requestCert": false,
-}
-`;
-
-exports[`server option as object ca, pfx, key and cert are array of strings should handle GET request to index route (/): page errors 1`] = `[]`;
-
-exports[`server option as object ca, pfx, key and cert are array of strings should handle GET request to index route (/): response status 1`] = `200`;
-
-exports[`server option as object ca, pfx, key and cert are array of strings should handle GET request to index route (/): response text 1`] = `
-"Heyo.
-"
-`;
-
-exports[`server option as object ca, pfx, key and cert are buffer should handle GET request to index route (/): console messages 1`] = `[]`;
-
-exports[`server option as object ca, pfx, key and cert are buffer should handle GET request to index route (/): console messages 2`] = `[]`;
-
-exports[`server option as object ca, pfx, key and cert are buffer should handle GET request to index route (/): https options 1`] = `
-{
- "ca": "",
- "cert": "",
- "key": "",
- "passphrase": "webpack-dev-server",
- "pfx": "",
- "requestCert": false,
-}
-`;
-
-exports[`server option as object ca, pfx, key and cert are buffer should handle GET request to index route (/): https options 2`] = `
-{
- "ca": "",
- "cert": "",
- "key": "",
- "passphrase": "webpack-dev-server",
- "pfx": "",
- "requestCert": false,
-}
-`;
-
-exports[`server option as object ca, pfx, key and cert are buffer should handle GET request to index route (/): page errors 1`] = `[]`;
-
-exports[`server option as object ca, pfx, key and cert are buffer should handle GET request to index route (/): page errors 2`] = `[]`;
-
-exports[`server option as object ca, pfx, key and cert are buffer should handle GET request to index route (/): response status 1`] = `200`;
-
-exports[`server option as object ca, pfx, key and cert are buffer should handle GET request to index route (/): response status 2`] = `200`;
-
-exports[`server option as object ca, pfx, key and cert are buffer should handle GET request to index route (/): response text 1`] = `
-"Heyo.
-"
-`;
-
-exports[`server option as object ca, pfx, key and cert are buffer should handle GET request to index route (/): response text 2`] = `
-"Heyo.
-"
-`;
-
-exports[`server option as object ca, pfx, key and cert are buffer, key and pfx are objects should handle GET request to index route (/): console messages 1`] = `[]`;
-
-exports[`server option as object ca, pfx, key and cert are buffer, key and pfx are objects should handle GET request to index route (/): https options 1`] = `
-{
- "ca": "",
- "cert": "",
- "key": [
- {
- "pem": "",
- },
- ],
- "passphrase": "webpack-dev-server",
- "pfx": [
- {
- "buf": "",
- },
- ],
- "requestCert": false,
-}
-`;
-
-exports[`server option as object ca, pfx, key and cert are buffer, key and pfx are objects should handle GET request to index route (/): page errors 1`] = `[]`;
-
-exports[`server option as object ca, pfx, key and cert are buffer, key and pfx are objects should handle GET request to index route (/): response status 1`] = `200`;
-
-exports[`server option as object ca, pfx, key and cert are buffer, key and pfx are objects should handle GET request to index route (/): response text 1`] = `
-"Heyo.
-"
-`;
-
-exports[`server option as object ca, pfx, key and cert are paths to files should handle GET request to index route (/): console messages 1`] = `[]`;
-
-exports[`server option as object ca, pfx, key and cert are paths to files should handle GET request to index route (/): https options 1`] = `
-{
- "ca": "",
- "cert": "",
- "key": "",
- "passphrase": "webpack-dev-server",
- "pfx": "",
- "requestCert": false,
-}
-`;
-
-exports[`server option as object ca, pfx, key and cert are paths to files should handle GET request to index route (/): page errors 1`] = `[]`;
-
-exports[`server option as object ca, pfx, key and cert are paths to files should handle GET request to index route (/): response status 1`] = `200`;
-
-exports[`server option as object ca, pfx, key and cert are paths to files should handle GET request to index route (/): response text 1`] = `
-"Heyo.
-"
-`;
-
-exports[`server option as object ca, pfx, key and cert are strings should handle GET request to index route (/): console messages 1`] = `[]`;
-
-exports[`server option as object ca, pfx, key and cert are strings should handle GET request to index route (/): https options 1`] = `
-{
- "ca": "-----BEGIN RSA PRIVATE KEY-----
-MIIEpQIBAAKCAQEAxAUVLFM+K3XDLQkBi7xt0s1Ip7JoHYDskzUDQNHjjMkUq5kv
-C/hf5Ei1J6qruJs3Xqg86Nl4+ed4ynUajAkRRibhp0P1SG1tgPssIK6iC7g8heYu
-Dy9WkFuMie0513zjSn6bMEAK5TegxYAWCbaCZX/Fw9bDniabL/zuOv4sf8J4EPhs
-EENnH6sUE9HxPUgQmNt1Tbd0j1Cd5PXrSTLyfVPRh0m9QhXTUHuxsse8XSn9U2sw
-duxJTWRINmhffYn+O7kbJGI77xYr8u58Rsf3HCMI8DTKZNvQLChvvtLJ9ckyu7Q+
-T8emgklStASm3V2UtnriaK/IQEhgSdxqVRib3QIDAQABAoIBAGqWKPE1QnT3T+3J
-G+ITz9P0dDFbvWltlTZmeSJh/s2q+WZloUNtBxdmwbqT/1QecnkyGgyzVCjvSKsu
-CgVjWNVAhysgtNtxRT4BVflffBXLVH2qsBjpsLRGU6EcMXuPGTiEp3YRHNuO6Aj8
-oP8fEsCGPc9DlJMGgxQRAKlrVF8TN/0j6Qk+YpS4MZ0YFQfBY+WdKu04Z8TVTplQ
-tTkiGpBI+Oj85jF59aQiizglJgADkAZ6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MzmxvTzAiR+s6R6Uj
-9LgGqppt30nM4wnOhOJU6UxqbwKBgQDdy03KidbPZuycJSy1C9AIt0jlrxDsYm+U
-fZrB6mHEZcgoZS5GbLKinQCdGcgERa05BXvJmNbfZtT5a37YEnbjsTImIhDiBP5P
-nW36/9a3Vg1svd1KP2206/Bh3gfZbgTsQg4YogXgjf0Uzuvw18btgTtLVpVyeuqz
-TU3eeF30cwKBgQCN6lvOmapsDEs+T3uhqx4AUH53qp63PmjOSUAnANJGmsq6ROZV
-HmHAy6nn9Qpf85BRHCXhZWiMoIhvc3As/EINNtWxS6hC/q6jqp4SvcD50cVFBroY
-/16iWGXZCX+37A+DSOfTWgSDPEFcKRx41UOpStHbITgVgEPieo/NWxlHmQKBgQDX
-JOLs2RB6V0ilnpnjdPXzvncD9fHgmwvJap24BPeZX3HtXViqD76oZsu1mNCg9EW3
-zk3pnEyyoDlvSIreZerVq4kN3HWsCVP3Pqr0kz9g0CRtmy8RWr28hjHDfXD3xPUZ
-iGnMEz7IOHOKv722/liFAprV1cNaLUmFbDNg3jmlaQKBgQDG5WwngPhOHmjTnSml
-amfEz9a4yEhQqpqgVNW5wwoXOf6DbjL2m/maJh01giThj7inMcbpkZlIclxD0Eu6
-Lof+ctCeqSAJvaVPmd+nv8Yp26zsF1yM8ax9xXjrIvv9fSbycNveGTDCsNNTiYoW
-QyvMqmN1kGy20SZbQDD/fLfqBQ==
------END PRIVATE KEY-----
-",
- "passphrase": "webpack-dev-server",
- "pfx": "",
- "requestCert": false,
-}
-`;
-
-exports[`server option as object ca, pfx, key and cert are strings should handle GET request to index route (/): page errors 1`] = `[]`;
-
-exports[`server option as object ca, pfx, key and cert are strings should handle GET request to index route (/): response status 1`] = `200`;
-
-exports[`server option as object ca, pfx, key and cert are strings should handle GET request to index route (/): response text 1`] = `
-"Heyo.
-"
-`;
-
-exports[`server option as object ca, pfx, key and cert are strings, key and pfx are objects should handle GET request to index route (/): console messages 1`] = `[]`;
-
-exports[`server option as object ca, pfx, key and cert are strings, key and pfx are objects should handle GET request to index route (/): https options 1`] = `
-{
- "ca": "-----BEGIN RSA PRIVATE KEY-----
-MIIEpQIBAAKCAQEAxAUVLFM+K3XDLQkBi7xt0s1Ip7JoHYDskzUDQNHjjMkUq5kv
-C/hf5Ei1J6qruJs3Xqg86Nl4+ed4ynUajAkRRibhp0P1SG1tgPssIK6iC7g8heYu
-Dy9WkFuMie0513zjSn6bMEAK5TegxYAWCbaCZX/Fw9bDniabL/zuOv4sf8J4EPhs
-EENnH6sUE9HxPUgQmNt1Tbd0j1Cd5PXrSTLyfVPRh0m9QhXTUHuxsse8XSn9U2sw
-duxJTWRINmhffYn+O7kbJGI77xYr8u58Rsf3HCMI8DTKZNvQLChvvtLJ9ckyu7Q+
-T8emgklStASm3V2UtnriaK/IQEhgSdxqVRib3QIDAQABAoIBAGqWKPE1QnT3T+3J
-G+ITz9P0dDFbvWltlTZmeSJh/s2q+WZloUNtBxdmwbqT/1QecnkyGgyzVCjvSKsu
-CgVjWNVAhysgtNtxRT4BVflffBXLVH2qsBjpsLRGU6EcMXuPGTiEp3YRHNuO6Aj8
-oP8fEsCGPc9DlJMGgxQRAKlrVF8TN/0j6Qk+YpS4MZ0YFQfBY+WdKu04Z8TVTplQ
-tTkiGpBI+Oj85jF59aQiizglJgADkAZ6zmbrctm/G9jPxh7JLS2cKI0ECZgK5yAc
-pk10E1YWhoCksjr9arxy6fS9TiX9P15vv06k+s7c4c5X7XDm3X0GWeSbqBMJb8q7
-BhZQNzECgYEA4kAtymDBvFYiZFq7+lzQBRKAI1RCq7YqxlieumH0PSkie2bba3dW
-NVdTi7at8+GDB9/cHUPKzg/skfJllek57MZmusiVwB/Lmp/IlW8YyGShdYZ7zQsV
-KMWJljpky3BEDM5sb08wIkfrOkelI/S4Bqqabd9JzOMJzoTiVOlMam8CgYEA3ctN
-yonWz2bsnCUstQvQCLdI5a8Q7GJvlH2awephxGXIKGUuRmyyop0AnRnIBEWtOQV7
-yZjW32bU+Wt+2B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