karma-jspm
karma-jspm copied to clipboard
Remove extra function wrap
Fix #169
System.import()
returns a promise.
.then()
accepts a promise in return, not a function.
Raven
Number of Findings: 0
karma.start()
was being called automatically when certain time has passed, not from this line:
https://github.com/Workiva/karma-jspm/blob/master/src/adapter.js#L65
If you added console.log('karma.start()
)` to it, you can see it is not being called.
This is because after the first call, the promiseChain
resolved to a function with other System.import()
calls, so they are "detached" and not tracked.
Why there is no follow up for this much needed fix?