aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
authorRichard Gibson <richard.gibson@gmail.com>2019-04-16 00:47:02 -0400
committerMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2019-04-29 22:12:59 +0200
commitbde53edcf4bd6c975d068eed4eb16c5ba09c1cff (patch)
tree3afe27aaa31b7bec22d5740b6a804953759d5716 /test/unit
parent58f0c00bed695f934bb205c6115e5fe99dd5c27b (diff)
downloadjquery-bde53edcf4bd6c975d068eed4eb16c5ba09c1cff.tar.gz
jquery-bde53edcf4bd6c975d068eed4eb16c5ba09c1cff.zip
Tests: Restrict an event test fallback to TestSwarm
Closes gh-4357
Diffstat (limited to 'test/unit')
-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" );
}