Excuse some underscore _.debounce and _.throttle tests in sauce.

This commit is contained in:
John-David Dalton
2013-12-01 20:07:42 -06:00
parent 8e1020f134
commit 94b6ce5ca0

View File

@@ -66,7 +66,11 @@
],
'bindAll': [
'throws an error for bindAll with no functions named'
]
],
'throttle repeatedly with results': true,
'more throttle does not trigger leading call when leading is set to false': true,
'throttle does not trigger trailing call when trailing is set to false': true,
'debounce asap': true
},
'Objects': {
'isEqual': [
@@ -97,10 +101,14 @@
}
};
// only excuse in Sauce Labs (buggy Safari)
// only excuse in Sauce Labs (buggy Safari and timers)
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.Functions['throttle repeatedly with results'];
delete QUnit.config.excused.Functions['more throttle does not trigger leading call when leading is set to false'];
delete QUnit.config.excused.Functions['throttle does not trigger trailing call when trailing is set to false'];
delete QUnit.config.excused.Functions['debounce asap'];
delete QUnit.config.excused.Objects.isEqual;
delete QUnit.config.excused.Utility.times;
delete QUnit.config.excused.Utility.uniqueId;