title: Resetting a KnockoutJS ViewModel in QUnit Tests
body: <p>I'm just getting started with Knockout JS and with QUnit for doing unit tests of my knockout view model. The problem that I'm running into is that if I have multiple tests in my qunit test javascript file, and I link to a javascript file which includes my View Model definition... any changes that I make to the View Model in one test are also present when I start the next test in the test module. I'm used to have an NUnit environment where my state is cleared automatically between tests.</p>
  
  <p>Is there a method, pattern or example that someone can point to which shows the best way to define a view model, and have it reset it's state for the start of each unit test?</p>