Issue running tests

Hi all,

I’m working through the js track but when I run my tests I’m getting the “errorReferenceError: describe is not defined”.

I’ve run npm install, and re-installed jest but still getting this error. I’ve also tried changing the babel.config file extension to .cjs as recommended on stack overflow. None of this has worked.

Any suggestions?

  • Which exercise?
  • Could you share your code (inside a codeblock)?

If you use yarn to install the dependencies and try running the tests does the same thing happen?

This is indeed the common issue. describe missing is almost always forgetting to install the dependencies via yarn