Running a test for a nodejs project on windows 10 with the line in package.json as:
\"test\": \"nodemon --exec \'mocha -R min\'\"
I get:>
install mocha globally then it will work
npm install -g mocha --save-dev