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 !

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top