Update sauce labs excused list in test/underscore.html. [ci skip]

This commit is contained in:
John-David Dalton
2013-11-24 11:18:21 -06:00
parent ad4e20da52
commit a150a8fd52

View File

@@ -39,6 +39,9 @@
'select/reject/sortBy': [ 'select/reject/sortBy': [
'Died on test #1' 'Died on test #1'
], ],
'select/reject/sortBy in functional style': [
'Died on test #1'
],
'reverse/concat/unshift/pop/map': [ 'reverse/concat/unshift/pop/map': [
'"34, 10, 8, 6, 4, 2, 10, 10"' '"34, 10, 8, 6, 4, 2, 10, 10"'
] ]
@@ -67,6 +70,7 @@
}, },
'Objects': { 'Objects': {
'isEqual': [ 'isEqual': [
'Died on test #60',
'Died on test #63' 'Died on test #63'
], ],
'keys': [ '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 // only excuse in non-Underscore builds
if (/\bunderscore\b/i.test(ui.buildPath)) { if (/\bunderscore\b/i.test(ui.buildPath)) {
delete QUnit.config.excused.Chaining; delete QUnit.config.excused.Chaining;
@@ -100,12 +112,6 @@
delete QUnit.config.excused.Utility['_.escape']; delete QUnit.config.excused.Utility['_.escape'];
delete QUnit.config.excused.Utility['_.unescape']; 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 // assign results to `global_test_results` for Sauce Labs
var global_test_results; var global_test_results;