Avoiding timing issue with _.debounce test and enable sauce support for backbone tests.

This commit is contained in:
John-David Dalton
2013-11-03 08:07:44 -08:00
parent 578c4b444c
commit f83119e188
4 changed files with 23 additions and 5 deletions

View File

@@ -26,6 +26,14 @@
<script src="../lodash.js"></script>
<script>
var lodash = _.noConflict();
// assign results to `global_test_results` for Sauce Labs
var global_test_results;
QUnit.done(function(results) {
global_test_results = results;
});
// load Lo-Dash again to overwrite the existing `_` value
document.write('<script src="' + ui.buildPath + '"><\/script>');
</script>
<script>