promises-aplus/promises-tests

Allow to specify the timeout

mgol opened this issue · 3 comments

mgol commented

We're getting timeouts a lot in the jQuery Jenkins. Could the timeout be made configurable?

Related: #53.

Sure! Pull request welcome.

mgol commented

Actually, it seems there already is a timeout option, it's just not documented in README. The following works:

node ./node_modules/.bin/promises-aplus-tests deferred-adapter.js --timeout 2000

Actually, it seems there already is a timeout option, it's just not documented in README. The following works:

node ./node_modules/.bin/promises-aplus-tests deferred-adapter.js --timeout 2000

Thanks, this was very helpful. Would be good to have this in the documentation.