【发布时间】:2014-07-07 12:07:15
【问题描述】:
我正在使用PogoScript 和 mocha 来测试一些进行异步调用的代码。
我需要增加超时时间,但我的代码不起作用。我尝试使用this.timeout(5000) 和self.timeout(5000) 无效。
it 'runs some async code'
self.timeout(5000)
result = request!('some params')
expect(result).to.be.true
【问题讨论】:
标签: asynchronous mocha.js pogoscript