kmiyashiro / grunt-mocha

[MOVED] Grunt task for running mocha specs in a headless browser (PhantomJS)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Timeout stays at 2000ms?

stevenvachon opened this issue · comments

The readme states that the default is 5000ms, but it doesn't appear to be so. Also, when I tried changing it to 100000000000000ms, it remained at 2000ms.

The timeout is for phantomjs, mocha defaults to 2s. You can set the timeouts in mocha using this.timeout() http://visionmedia.github.io/mocha/#suite-specific-timeouts

Ah, that makes sense now, thank you. You may want to update the readme regarding this for other users.