测试 mocha

优质
小牛编辑
115浏览
2023-12-01

要运行Mocha的测试,您需要GNU Make或兼容; Cygwin应该工作。

$ cd /path/to/mocha
$ npm install
$ npm test

要使用其他记者:

$ REPORTER=nyan npm test