Mocha and chai tests are not working

If I try to run a test I get this error: ReferenceError: expect is not defined

Mocha config `--require babel-register `, chai and mocha types have been downloaded

Goland version: 2019.3.3

 

 

1 comment
Comment actions Permalink

This is a runtime error. Do you have chai module installed (npm install chai)?

0

Please sign in to leave a comment.