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 c707fae commit f1e156bCopy full SHA for f1e156b
test/execcommand.test.ts
@@ -4,7 +4,8 @@ import { execute } from "../src/util/execcommand";
4
5
suite("Execute Command", () => {
6
test("Simple command", async () => {
7
- const commandResult = await execute("node", ["--version"]);
+ const command = process.platform === "win32" ? "cd" : "pwd";
8
+ const commandResult = await execute(command, []);
9
10
assert.ok(commandResult);
11
});
0 commit comments