-
-
Notifications
You must be signed in to change notification settings - Fork 616
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(dev-sever): add e2e test cases part 2 (#7829)
- Loading branch information
1 parent
d64eb75
commit b89fb12
Showing
53 changed files
with
11,955 additions
and
2,190 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
61 changes: 61 additions & 0 deletions
61
packages/rspack-dev-server/tests/e2e/__snapshots__/host.test.js.snap.webpack5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
// 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`] = `[]`; |
Oops, something went wrong.
b89fb12
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📝 Benchmark detail: Open
b89fb12
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📝 Ran ecosystem CI: Open