Excuse assert count expected error in Backbone and add support for excusing them qunit-extras.

This commit is contained in:
John-David Dalton
2014-05-16 02:17:02 -07:00
parent c91e8d7aa7
commit a0cba79df2
2 changed files with 79 additions and 21 deletions

View File

@@ -33,6 +33,15 @@
QUnit.config.asyncRetries = 10;
QUnit.config.hidepassed = true;
// excuse tests we intentionally fail or those with problems
QUnit.config.excused = {
'Backbone.Router': {
'#1695 - hashChange to pushState with search.': [
'Expected 1 assertions, but 0 were run'
]
}
};
// load Lo-Dash
if (!ui.isModularize) {
document.write('<script src="' + ui.buildPath + '"><\/script>');