Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
Merge pull request #81 from thecointech/master
Browse files Browse the repository at this point in the history
Support workspaces
  • Loading branch information
rossknudsen authored Aug 14, 2020
2 parents c1bebce + 62e5542 commit 21f228e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,12 @@ export default class JestTestAdapter implements TestAdapter {
cwd: "${workspaceFolder}",
internalConsoleOptions: "neverOpen",
name: "vscode-jest-test-adapter",
program: "${workspaceFolder}/node_modules/jest/bin/jest",
request: "launch",
type: "node",
runtimeExecutable: "${workspaceFolder}/node_modules/.bin/jest",
windows: {
runtimeExecutable: "${workspaceFolder}/node_modules/.bin/jest.cmd"
},
};

await vscode.debug.startDebugging(this.workspace, debugConfiguration);
Expand Down

0 comments on commit 21f228e

Please sign in to comment.