From a150a8fd52f0567462fbe11397a6aad5ac7fc105 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sun, 24 Nov 2013 11:18:21 -0600 Subject: [PATCH] Update sauce labs excused list in test/underscore.html. [ci skip] --- test/underscore.html | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/test/underscore.html b/test/underscore.html index fdfd871d4..e815b7aca 100644 --- a/test/underscore.html +++ b/test/underscore.html @@ -39,6 +39,9 @@ 'select/reject/sortBy': [ 'Died on test #1' ], + 'select/reject/sortBy in functional style': [ + 'Died on test #1' + ], 'reverse/concat/unshift/pop/map': [ '"34, 10, 8, 6, 4, 2, 10, 10"' ] @@ -67,6 +70,7 @@ }, 'Objects': { 'isEqual': [ + 'Died on test #60', 'Died on test #63' ], 'keys': [ @@ -93,6 +97,14 @@ } }; + // only excuse in Sauce Labs (buggy Safari) + if (location.port != '9001') { + delete QUnit.config.excused.Chaining['select/reject/sortBy']; + delete QUnit.config.excused.Chaining['select/reject/sortBy in functional style']; + delete QUnit.config.excused.Objects.isEqual; + delete QUnit.config.excused.Utility.times; + delete QUnit.config.excused.Utility.uniqueId; + } // only excuse in non-Underscore builds if (/\bunderscore\b/i.test(ui.buildPath)) { delete QUnit.config.excused.Chaining; @@ -100,12 +112,6 @@ delete QUnit.config.excused.Utility['_.escape']; delete QUnit.config.excused.Utility['_.unescape']; } - // only excuse in Sauce Labs - if (location.port != '9001') { - delete QUnit.config.excused.Objects.isEqual; - delete QUnit.config.excused.Utility.times; - delete QUnit.config.excused.Utility.uniqueId; - } // assign results to `global_test_results` for Sauce Labs var global_test_results;