// Max time for stop() and asyncTest() until it aborts test
// and start()'s the next test.
-QUnit.config.testTimeout = 12e4; // 2 minutes
+QUnit.config.testTimeout = 60e3; // 1 minute
// Enforce an "expect" argument or expect() call in all test bodies.
QUnit.config.requireExpects = true;
done();
done = null;
} );
-
- // This test can be unreliable in CI... try two methods to prompt a focusin event
- // and set an abort timeout
input.trigger( "focus" );
- try {
- input[ 0 ].focus();
- } catch ( e ) {}
+
+ // DOM focus is unreliable in TestSwarm CI; set an abort timeout
setTimeout( function() {
if ( !done ) {
return;
assert.ok( true, "Did not intercept focusin" );
done();
done = null;
- }, QUnit.config.testTimeout / 2 || 1000 );
+ }, QUnit.config.testTimeout / 4 || 1000 );
} );
QUnit.test( "Donor event interference", function( assert ) {