How to set the timeout of a functional tests with the Intern?

↘锁芯ラ 提交于 2019-12-11 10:37:21

问题


I'm using Intern to write functional tests against a web app, and I would like to define a timeout > 30s (30s is the default timeout for Intern tests) for each of my functional tests.

I cannot find anything related in the documentation. Does anybody knows how to do this ?

Thanks for your help !


回答1:


This information is available in the Asynchronous Testing documentation. Set this.timeout from within the test to a value in milliseconds.



来源:https://stackoverflow.com/questions/19861678/how-to-set-the-timeout-of-a-functional-tests-with-the-intern

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!