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 9211a22039
commit 31322e73b7
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));