Run with mocha as default

2017.1 by default runs javascript tests with the "Node.js" configuration.  (e.g. when I press Ctrl-Shift-F10
To get the test to run as a Mocha test, I need to run it explicitely (with a manually created run config)

Is there a way I can tell IntellJ to default to use "mocha" for javascript rather than "Node.js"

 

1
1 comment

WebStorm normally suggests running file as Mocha test if it's recognized as a spec:

if it doesn't work for you, can you provide your spec file plus screenshots that show up the issue?

0

Please sign in to leave a comment.