fix(test): error in karma when systemjs imports fail

Closes #3846
This commit is contained in:
Philip Harrison 2015-08-26 11:45:30 +01:00
parent 256b2dc9b7
commit 78200868f4
1 changed files with 1 additions and 2 deletions

View File

@ -39,8 +39,7 @@ System.import('angular2/src/core/dom/browser_adapter').then(function(browser_ada
.then(function() { .then(function() {
__karma__.start(); __karma__.start();
}, function(error) { }, function(error) {
console.error(error.stack || error); __karma__.error(error.stack || error);
__karma__.start();
}); });