Skip to content

Commit a1cbc54

Browse files
committed
Update steps.json
1 parent 3198cd9 commit a1cbc54

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
> vite dev --port 12312312312 2>&1 | grep RangeError # dev server with wrong port throw error
1+
> vite dev --port 12312312312 2>&1 | grep RangeError # intentionally use an invalid port (exceeds 0-65535) to trigger RangeError
22
RangeError [ERR_SOCKET_BAD_PORT]: options.port should be >= 0 and < 65536. Received type number (12312312312).

packages/cli/snap-tests/command-dev-with-port/steps.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"VITE_DISABLE_AUTO_INSTALL": "1"
44
},
55
"commands": [
6-
"vite dev --port 12312312312 2>&1 | grep RangeError # dev server with wrong port throw error"
6+
"vite dev --port 12312312312 2>&1 | grep RangeError # intentionally use an invalid port (exceeds 0-65535) to trigger RangeError"
77
]
88
}

0 commit comments

Comments
 (0)