title: TypeError: Cannot read property 'model' of undefined
body: <ul>
  <li>I am trying to run jasmine test cases for my typescript file but its not running...</li>
  <li>can you tell me how to fix it...</li>
  <li>providing my code below...</li>
  <li>but when its converted to js its running..</li>
  <li>and I am facing one more error in that...</li>
  </ul>
  
  <p>TypeError: Cannot read property 'model' of undefined</p>
  
  <ul>
  <li>working fiddle </li>
  </ul>
  
  <p><a href="http://jsfiddle.net/om4pc7s8/1/" rel="nofollow noreferrer">http://jsfiddle.net/om4pc7s8/1/</a></p>
  
  <ul>
  <li>not working fiddle </li>
  </ul>
  
  <p><a href="https://jsfiddle.net/h6ck42kx/3/" rel="nofollow noreferrer">https://jsfiddle.net/h6ck42kx/3/</a></p>
  
  <pre><code>describe("Our data array", function() {
    it("has four items", function() {
      var example = new Example();
      expect(example.players()).toBe(0);
    });
  });
  </code></pre>