title: Chutzpah Error: Object doesn't support property or method 'filter'
body: <p>I'm trying to run jasmine tests on my knockout viewmodels, written in typescript via chutzpah but this doesn't seem possible due to the following error:</p>
  
  <pre><code>Chutzpah Error: Object doesn't support property or method 'filter'
  </code></pre>
  
  <p>This error gets thrown whenever I access a knockout observable and can be recreated via the following simple example.</p>
  
  <pre><code>/// &lt;reference path="../../typings/jquery/jquery.d.ts" /&gt;
  /// &lt;reference path="../../typings/knockout/knockout.d.ts" /&gt;
  /// &lt;reference path="../../typings/jasmine/jasmine.d.ts" /&gt;
  
  module Example {
      export class KnockoutClass {
          public anObservable = ko.observable&lt;string&gt;();
  
          public aComputed = ko.computed&lt;boolean&gt;(() =&gt; {
              return this.anObservable().length() &gt; 5;
          });
      }
  }
  
  describe("This", () =&gt; {
      it(" will throw an error", () =&gt; {        
  
          var temp: Example.KnockoutClass = new Example.KnockoutClass();
  
      });
  });
  </code></pre>
  
  <p>Am I doing something fundamentally wrong here or is chutzpah not compatible with the knockout/typescript combination? </p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>So I've managed to get chutzpah to run my tests by doing the following:</p>
  
  <ol>
  <li>Remove the 'Jasmine Test Framework' NuGet package from my project and replace it with the 'jasmine.js' NuGet package instead.</li>
  <li>Add a jasmine specrunner.html file to my tests directory that references my tests and their dependencies</li>
  <li>In Tools->Options->Chutzpah->Unit Test Explorer set Testing Mode to HTML</li>
  <li>Run tests from the Test Explorer window</li>
  </ol>
  
  <p>This gets my tests running successfully but I still get the same exception when I try to run by right click->'Run JS Tests' and I can't debug tests either.</p>
  
  <p>The issue seems to be that none of my references are resolved (the filter method is defined within jquery) so maybe I need to use require.js or some other module loader to resolve my dependencies?</p>