Przygotowywałem karmę i jaśmin na moim ustawieniu angularjs 1.5 i jspm. Po pierwsze, wszystkie błędy z dziennika śledzenia karmy pochodzą właśnie z systemu systemjs, co utrudnia debugowanie. Dostaję także wiele Potencjalnie nieobsłużonych wiadomości odrzucenia, mimo że wszystkie moje obietnice traktują odrzucenia.Karma JSPM Horrible Trace Log
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)
Czy istnieje sposób na lepsze dzienniki śledzenia z błędami?