
























@@ -50,10 +50,12 @@ describe("scripts/qa-lab-up", () => {
5050});
51515252it.each([
53+[["--gateway-port", ""], "--gateway-port must be a positive integer."],
5354[["--gateway-port", "1.5"], "--gateway-port must be a positive integer."],
5455[["--gateway-port", "0x1000"], "--gateway-port must be a positive integer."],
5556[["--gateway-port", "0"], "--gateway-port must be a positive integer."],
5657[["--gateway-port", "65536"], "--gateway-port must be a TCP port from 1 to 65535."],
58+[["--qa-lab-port", ""], "--qa-lab-port must be a positive integer."],
5759[["--qa-lab-port", "1e4"], "--qa-lab-port must be a positive integer."],
5860[["--qa-lab-port", "65536"], "--qa-lab-port must be a TCP port from 1 to 65535."],
5961])("rejects invalid TCP ports: %j", async (args, errorMessage) => {
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。