Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v16
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ This project is a sample project for creating a VS Code plugin with a hexagonal

1. Clone the repository
```shell
https://github.com/peterhnm/vscode-hexagonal-example.git
git clone https://github.com/peterhnm/vscode-hexagonal-example.git
```
2. Install dependencies
```shell
Expand Down
12 changes: 11 additions & 1 deletion src/test/runTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,18 @@ async function main() {
// Passed to --extensionTestsPath
const extensionTestsPath = path.resolve(__dirname, "./suite/index");

const testWorkspace = path.join(extensionDevelopmentPath, "example");

// Download VS Code, unzip it and run the integration test
await runTests({ extensionDevelopmentPath, extensionTestsPath });
await runTests({
extensionDevelopmentPath,
extensionTestsPath,
launchArgs: [
testWorkspace,
"--disable-extensions",
"--disable-workspace-trust",
],
});
} catch (err) {
console.error("Failed to run tests", err);
process.exit(1);
Expand Down