我正在超时-在jasmine指定的超时内未调用异步回调.DEFAULT_TIMEOUT_INTERVAL错误 [英] I am getting Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL Error
本文介绍了我正在超时-在jasmine指定的超时内未调用异步回调.DEFAULT_TIMEOUT_INTERVAL错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
消息:
Error: Timeout - Async callback was not invoked within timeout specified
by jasmine.DEFAULT_TIMEOUT_INTERVAL.
Stack:
Error: Timeout - Async callback was not invoked within timeout
specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
at ontimeout (timers.js:365:14)
at tryOnTimeout (timers.js:237:5)
at Timer.listOnTimeout (timers.js:207:5)
推荐答案
增加茉莉花默认时间间隔.您将以下代码添加到conf.js文件中.
Increase the jasmin default time interval. You add below code to conf.js file.
代码:
jasmineNodeOpts: {
showColors: true,
includeStackTrace: true,
defaultTimeoutInterval: 1440000
}
这篇关于我正在超时-在jasmine指定的超时内未调用异步回调.DEFAULT_TIMEOUT_INTERVAL错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文