We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82004ed commit 5614c8bCopy full SHA for 5614c8b
1 file changed
tests/e2e/languages/cli/test.js
@@ -1146,14 +1146,13 @@ async function runAuthChecks() {
1146
assert.ok(captured, "expected openBrowser to spawn an open command");
1147
const expectedCommand =
1148
process.platform === "win32"
1149
- ? "cmd"
+ ? "rundll32"
1150
: process.platform === "darwin"
1151
? "open"
1152
: "xdg-open";
1153
assert.equal(captured.command, expectedCommand);
1154
- // win32 quotes the URL arg, so match by substring rather than equality.
1155
assert.ok(
1156
- captured.args.some((arg) => arg.includes(url)),
+ captured.args.includes(url),
1157
"expected the verification URL to be passed to the open command",
1158
);
1159
0 commit comments