fix: correctly show error when karma fails to load

This commit is contained in:
Misko Hevery
2016-12-13 14:57:40 -08:00
committed by Matias Niemelä
parent d25d1730c7
commit d6c414c08f
2 changed files with 2 additions and 4 deletions

View File

@ -71,4 +71,4 @@ Promise
return Promise.all(
allSpecFiles.map(function(moduleName) { return System.import(moduleName); }));
})
.then(__karma__.start, __karma__.error);
.then(__karma__.start, (v) => console.error(v));