Nodejs mocha /应该采用静默模式

时间:2015-04-23 09:06:04

标签: node.js testing mocha

我尝试在mocha上找到一个选项,以避免在我的一个断言失败时出现如此巨大的错误解释。

  5 passing (561ms)
  1 failing

  1) Actors Actors list should get a list of well formed actors:
 Uncaught AssertionError: expected ... to have property properties
  at test/actors.js:70:47
  at Array.forEach (native)
  at Test.<anonymous> (test/actors.js:65:35)
  at Test.emit (events.js:95:17)
  at IncomingMessage.emit (events.js:117:20)
  at _stream_readable.js:943:16

我想拥有通过和失败的信息而不是其他信息。有什么想法吗?

干杯,

0 个答案:

没有答案