callThrough is not a function
Frrede opened this issue · comments
-
**I'm submitting a ... **
- bug report
-
What is the current behavior?
When I use karma-parallel (in an angular 5 project) I get the errorcallThrough is not a function
when running karma with code coverage.
This is because lodash version 3.1 is used in my project and_.rest
is returning an array there:
https://lodash.com/docs/3.10.1#rest
_.rest
is used in reporter.jsconst callThrough = _.rest((fnName, args) => { ...
So I guess one have to define a lodash version >4 in karma-parallel package.json to ensure the correct lodash version?
Ahh yes you can try to define that as a temp workaround, but I will remove fix this dependency issue. I didn’t realize that I hadn’t declared it as a dependency. I will either remove the dependency or declare it explicitly. Thanks for pointing this out!
thank you, great plugin btw! =)
Thanks! Fixed in 0.2.2