Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support new runtimeExecutable: "mocha" in launch template #1997

Closed
andreamah opened this issue Apr 24, 2024 · 0 comments · Fixed by #2067
Closed

Support new runtimeExecutable: "mocha" in launch template #1997

andreamah opened this issue Apr 24, 2024 · 0 comments · Fixed by #2067
Assignees
Labels

Comments

@andreamah
Copy link

When testing #1984, I found that the Add Configuration in launch.json still adds mocha using "program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",

  1. Open launch.json.
  2. Add Configuration
  3. Node.js: Mocha Tests
  4. See "program": "${workspaceFolder}/node_modules/mocha/bin/_mocha", instead of the new runtimeExecutable: "mocha" 🐛
@andreamah andreamah added the bug Issue identified by VS Code Team member as probable bug label Apr 24, 2024
@andreamah andreamah added polish and removed bug Issue identified by VS Code Team member as probable bug labels Apr 24, 2024
connor4312 added a commit that referenced this issue Aug 30, 2024
Fixes #1997

Also borrows some logic from Python to add a completion item to let
users pick a Node.js tool that they can run, from their
node_modules/.bin folder

![](https://memes.peet.io/img/24-08-8b1001ca-93a8-4ec3-be17-f8641eea61b7.png)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants