title: How to get 100% of karma branch code coverage in typescript angular app?
body: <p>I write my angular application with karma and jasmin unit tests. I got code in typescript:</p>
  
  <pre><code>module app {
    ...
  }
  </code></pre>
  
  <p>which generates to javascript like:</p>
  
  <pre><code>var app;
  (function (app) {
  ...
  })(app || (app = {}));
  </code></pre>
  
  <p>Now when I run karma-coverage it shows me that one branch is skipped and it's <em>|| (app = {}))</em>; this one. It happens when I test more files which got app module.</p>
  
  <p>How can I test it in jasmine, to get 100% branch coverage?</p>