title: Need some practical example of "callThrough" & "callFake()" in Jasmine
body: <p>I am learning to implement <code>karma</code> &amp; <code>Jasmine</code> in AngularJS and I am going through some of its examples to understand it better.</p>
  <p>I am little bit confused about <code>callThrough</code>.</p>
  <p>Please correct me if I am misunderstanding it, it's slightly similar to <code>callFake()</code> in a way that we are not actually calling the function. In <code>callFake()</code> we also provide a function with the return type but not in <code>callThrough</code>.</p>
  <p>From Jasmine doc:</p>
  <blockquote>
  <p>By chaining the spy with and.callThrough, the spy will still track all calls to it but in addition it will delegate to the actual implementation.</p>
  </blockquote>
  <p>Please shed some light on this.</p>
  <h2>Update:</h2>
  <p>After struggling through it, i realized that an article is worth sharing. <a href="https://medium.com/@shashankvivek.7/testing-a-component-with-stub-services-and-spies-in-jasmine-1428d4242a49" rel="noreferrer">Here is a Medium article to anyone who stumbles across this question</a></p>