Getting Error: invalid interface "BDD" when running mocha tests
Hi,
I am trying to run mocha tests on the webstorm and I keep getting this error --> "throw new Error('invalid interface "' + name + '"');"
I am even using bdd format tests but it's still failing. I would really appreciate it if someone can tell me how to fix this issue.
Error Message:

Mocha Configuration:

Thanks
Please sign in to leave a comment.
please provide screenshots of the error message and your mocha run configuration
I had the exact same error and was able to fix it by changing the "User interface" field in the above dialog box from BDD (caps) to bdd (lower case).
yes, changing the case should fix the issue; BTW, WebStorm uses 'bdd' (lowercase), you must have entered the wrong value manually...