We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3198cd9 commit a1cbc54Copy full SHA for a1cbc54
2 files changed
packages/cli/snap-tests/command-dev-with-port/snap.txt
@@ -1,2 +1,2 @@
1
-> vite dev --port 12312312312 2>&1 | grep RangeError # dev server with wrong port throw error
+> vite dev --port 12312312312 2>&1 | grep RangeError # intentionally use an invalid port (exceeds 0-65535) to trigger RangeError
2
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
@@ -3,6 +3,6 @@
3
"VITE_DISABLE_AUTO_INSTALL": "1"
4
},
5
"commands": [
6
- "vite dev --port 12312312312 2>&1 | grep RangeError # dev server with wrong port throw error"
+ "vite dev --port 12312312312 2>&1 | grep RangeError # intentionally use an invalid port (exceeds 0-65535) to trigger RangeError"
7
]
8
}
0 commit comments