Skip to content

Commit

Permalink
Fix test fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
lydell committed Jan 11, 2025
1 parent 11ff215 commit b205bde
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/Helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ export function clean(string: string): string {
.replace(/\/private\//g, "/") // Ends up before `os.tmpdir()` on macOS in `fs` errors.
.replace(/(ws:\/\/0\.0\.0\.0):\d{5}/g, "$1:59123")
.replace(
/(\S*server:\S*) http:\/\/localhost:\d{5}(\S*, network:\S*) http:\/\/.+/g,
/(\S*server:\S*) http:\/\/localhost:\d+(\S*, network:\S*) http:\/\/.+/g,
"$1 http://localhost:59123$2 http://192.168.0.1:59123",
)
.replace(/(?:\x1B\[0?m)?\x1B\[(?!0)\d+m/g, "⧙")
Expand Down
2 changes: 1 addition & 1 deletion tests/Hot.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2635,7 +2635,7 @@ describe("hot", () => {
1 error found
server: http://localhost:9988, network: http://192.168.0.99:9988
server: http://localhost:59123, network: http://192.168.0.1:59123
web socket connections: 1
13:10:05 Web socket connected needing compilation of: Main
Expand Down

0 comments on commit b205bde

Please sign in to comment.