I've been using jspm and SystemJs with Karma, but since the last update (jspm: 0.16.23, SystemJs: 0.19.16) I get the following error, originating from system-pollyfills, when running Karma:
'Potentially unhandled rejection [4] TypeError: loader.bundles[b].indexOf is not a function
at SystemJSLoader.<anonymous> (http://localhost:9876/base/wwwroot/jspm_packages/system.src.js?60ced582fc3750b88f77044342c775e5c3c18d0d:4724:33)
at SystemJSLoader.locate (http://localhost:9876/base/wwwroot/jspm_packages/system.src.js?60ced582fc3750b88f77044342c775e5c3c18d0d:4774:21)
at http://localhost:9876/base/wwwroot/jspm_packages/system.src.js?60ced582fc3750b88f77044342c775e5c3c18d0d:310:33
at tryCatchReject (http://localhost:9876/base/wwwroot/jspm_packages/system-polyfills.src.js?be0f4ba76d282ea43052da5d0d22a53cea9237ca:1257:30)
at runContinuation1 (http://localhost:9876/base/wwwroot/jspm_packages/system-polyfills.src.js?be0f4ba76d282ea43052da5d0d22a53cea9237ca:1216:4)
at Fulfilled.when (http://localhost:9876/base/wwwroot/jspm_packages/system-polyfills.src.js?be0f4ba76d282ea43052da5d0d22a53cea9237ca:1004:4)
at ContinuationTask.run (http://localhost:9876/base/wwwroot/jspm_packages/system-polyfills.src.js?be0f4ba76d282ea43052da5d0d22a53cea9237ca:1114:24)
at Scheduler._drain (http://localhost:9876/base/wwwroot/jspm_packages/system-polyfills.src.js?be0f4ba76d282ea43052da5d0d22a53cea9237ca:171:19)
at Scheduler.drain (http://localhost:9876/base/wwwroot/jspm_packages/system-polyfills.src.js?be0f4ba76d282ea43052da5d0d22a53cea9237ca:136:9)
at MutationObserver.run (http://localhost:9876/base/wwwroot/jspm_packages/system-polyfills.src.js?be0f4ba76d282ea43052da5d0d22a53cea9237ca:342:4)'
The application still works as expected, but I cannot run any tests, so I presume karma-jspm to be de culprit. Has anybody else come across this? Any Idea on how to preceed?
I've been using jspm and SystemJs with Karma, but since the last update (jspm: 0.16.23, SystemJs: 0.19.16) I get the following error, originating from system-pollyfills, when running Karma:
The application still works as expected, but I cannot run any tests, so I presume karma-jspm to be de culprit. Has anybody else come across this? Any Idea on how to preceed?