How to set the timeout of a functional tests with

2019-08-08 04:49发布

问题:

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.



标签: intern