I'm trying to run a test and I'm getting this error:
/dev/tests/counters.spec.js:12
describe('Work damn you!', function () {
^
ReferenceError: describe is not defined
Mocha is installed both globally and locally to the project. I'm not sure if I've got it right, but this is my test script:
"test": "mocha --compilers js:babel-register --require dev/tests/counters.spec.js"
Am I going anything that's plainly wrong? Any help would be welcome.