title: Headless knockout viewmodel testing with mocha
body: <p>I am trying to do headless testing of my knockout viewmodels.  I purposely avoid dealing with any ui constructs in my viewmodel and leave the wireup to the html page.</p>
  
  <p>This works great in Jasmine since it runs in the browser, but when I switch to <a href="http://visionmedia.github.com/mocha/" rel="noreferrer">mocha</a>, I end up running head-first into the last line on knockout which is:</p>
  
  <blockquote>
    <p>})(window,document,navigator);</p>
  </blockquote>
  
  <p>I've looked at using <a href="http://zombie.labnotes.org/" rel="noreferrer">zombiejs</a> which would be a nice alternative, but I don't see a good story on how to use it without changing the knockout source itself.  </p>
  
  <p>Any thoughts on how to approach this?</p>