Search code examples
javascriptnode.jsmocha.jsloopbackjsloopback

What is --reporter spec in mocha.opts file?


I am currently learning about implementing test cases for loopback framework using mocha, chai and supertest from this github. But I got stuck understanding this line --reporter spec in mocha.opts file.

Appreciate your guidance about reporter spec.


Solution

  • It specifies the output to use for report.

    http://ricostacruz.com/mocha/#reporters