问题
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