Ho impostato karma e gelsomino sul mio setup di angularjs 1.5 e jspm. Innanzitutto tutti gli errori di karma che il log di traccia proviene solo da systemjs, il che rende più difficile il debug. Ricevo anche molti messaggi di rifiuto potenzialmente non gestiti anche se tutte le mie promesse stanno gestendo i rifiuti.Registro tracce orribili Karma JSPM
ERROR LOG: 'Potentially unhandled rejection [5]
[email protected]://localhost:9020/base/jspm_packages/system-polyfills.src.js?3aa57969dce4ecea4c51aab540f372d15cc886b6:1252:34
[email protected]://localhost:9020/base/jspm_packages/system-polyfills.src.js?3aa57969dce4ecea4c51aab540f372d15cc886b6:1211:18
[email protected]://localhost:9020/base/jspm_packages/system-polyfills.src.js?3aa57969dce4ecea4c51aab540f372d15cc886b6:999:20
[email protected]://localhost:9020/base/jspm_packages/system-polyfills.src.js?3aa57969dce4ecea4c51aab540f372d15cc886b6:1109:28
[email protected]://localhost:9020/base/jspm_packages/system-polyfills.src.js?3aa57969dce4ecea4c51aab540f372d15cc886b6:166:22
[email protected]://localhost:9020/base/jspm_packages/system-polyfills.src.js?3aa57969dce4ecea4c51aab540f372d15cc886b6:131:15'
ERROR LOG: 'Potentially unhandled rejection [6]
[email protected]://localhost:9020/base/jspm_packages/system-polyfills.src.js?3aa57969dce4ecea4c51aab540f372d15cc886b6:1252:34
[email protected]://localhost:9020/base/jspm_packages/system-polyfills.src.js?3aa57969dce4ecea4c51aab540f372d15cc886b6:1211:18
[email protected]://localhost:9020/base/jspm_packages/system-polyfills.src.js?3aa57969dce4ecea4c51aab540f372d15cc886b6:999:20
[email protected]://localhost:9020/base/jspm_packages/system-polyfills.src.js?3aa57969dce4ecea4c51aab540f372d15cc886b6:1109:28
[email protected]://localhost:9020/base/jspm_packages/system-polyfills.src.js?3aa57969dce4ecea4c51aab540f372d15cc886b6:166:22
[email protected]://localhost:9020/base/jspm_packages/system-polyfills.src.js?3aa57969dce4ecea4c51aab540f372d15cc886b6:131:15'
MyService
✗ should do the thing
Expected 3 to equal 2.
[email protected]/var/www/html/loyaltyone/src/jspm_packages/system-polyfills.src.js:1252:34
[email protected]/var/www/html/loyaltyone/src/jspm_packages/system-polyfills.src.js:1211:18
[email protected]/var/www/html/loyaltyone/src/jspm_packages/system-polyfills.src.js:999:20
[email protected]/var/www/html/loyaltyone/src/jspm_packages/system-polyfills.src.js:890:17
PhantomJS 2.1.1 (Linux 0.0.0): Executed 46 of 46 (1 FAILED) (0.205 secs/0.028 secs)
C'è un modo per ottenere registri di traccia migliori con gli errori?