/**
* Add bogus to url to prevent IE crazy caching
*
- * @param value {String} a relative path (eg. 'data/foo.js'
+ * @param {string} value a relative path (eg. 'data/foo.js'
* or 'data/test.php?foo=bar').
- * @return {String} Such as 'data/foo.js?131031765087663960'
+ * @return {string} Such as 'data/foo.js?131031765087663960'
*/
QUnit.fixurl = function ( value ) {
return value + ( /\?/.test( value ) ? '&' : '?' )
* Configuration
*/
- // When a test() indicates asynchronicity with stop(),
- // allow 30 seconds to pass before killing the test(),
- // and assuming failure.
- QUnit.config.testTimeout = 30 * 1000;
+ // For each test() that is asynchronous, allow this time to pass before
+ // killing the test and assuming timeout failure.
+ QUnit.config.testTimeout = 60 * 1000;
QUnit.config.requireExpects = true;
/**
* Reset mw.config and others to a fresh copy of the live config for each test(),
* and restore it back to the live one afterwards.
- * @param localEnv {Object} [optional]
+ *
+ * @param {Object} [localEnv]
* @example (see test suite at the bottom of this file)
* </code>
*/