atom-community / atom-community/atom-script
How to run a single Mocha test
Open
- Dominant language
- JavaScript
- Stars
- 730
- Forks
- 264
- PR merge metrics
- No merged PRs in 30d
Description
When I stand inside a Mocha file and click "Ctrl+Shift+B", I get an error "ReferenceError: describe is not defined". Apparently, Script is trying to run the file with nodejs. How can I tell it to run such files with mocha (without having to select a "mocha" profile each time)?
Contributor guide
Assessment
This issue has not been assessed yet.