Skip to content

Commit

Permalink
dev
Browse files Browse the repository at this point in the history
  • Loading branch information
yandeu committed Dec 3, 2024
1 parent c8ac90e commit 60b3c3e
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/test/runTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async function main() {
console.log(cliPath, args);

// Use cp.spawn / cp.exec for custom setup
console.log("LIST_EXTENSIONS");
/* console.log("LIST_EXTENSIONS");
await spawn(cliPath, [...args, "--list-extensions"]);
// Use cp.spawn / cp.exec for custom setup
Expand All @@ -58,22 +58,22 @@ async function main() {
...args,
"--install-extension",
path.resolve(__dirname, `../../five-server-${version}.vsix`),
]);

process.exit(0);
]);*/

// Use cp.spawn / cp.exec for custom setup
console.log("LIST_EXTENSIONS");
cp.spawnSync(cliPath, [...args, "--list-extensions"], {
encoding: "utf-8",
stdio: "inherit",
shell: process.platform === "win32",
});

// Use cp.spawn / cp.exec for custom setup
console.log("UNINSTALL_EXTENSIONS");
cp.spawnSync(cliPath, [...args, "--uninstall-extension", "yandeu.five-server"], {
encoding: "utf-8",
stdio: "inherit",
shell: process.platform === "win32",
});

// Use cp.spawn / cp.exec for custom setup
Expand All @@ -84,9 +84,12 @@ async function main() {
{
encoding: "utf-8",
stdio: "inherit",
shell: process.platform === "win32",
}
);

process.exit(0);

// Run the extension test
await runTests({
// Use the specified `code` executable
Expand Down

0 comments on commit 60b3c3e

Please sign in to comment.