aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/unit/event.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/event.js b/test/unit/event.js
index c10341c16..b77da465e 100644
--- a/test/unit/event.js
+++ b/test/unit/event.js
@@ -3060,7 +3060,7 @@ QUnit.test( "focus-blur order (#12868)", function( assert ) {
setTimeout( function() {
// DOM focus is unreliable in TestSwarm
- if ( order === 0 ) {
+ if ( QUnit.isSwarm && order === 0 ) {
assert.ok( true, "GAP: Could not observe focus change" );
assert.ok( true, "GAP: Could not observe focus change" );
}