title: Testing elements with jQuery-Chai
body: <p>I have a couple of functions that use jQuery.  And I'm having trouble making sense of the proper way to test them with jQuery-Chai in Mocha+Chai.</p>
  
  <p>I see the list of assertions in the jQuery-Chai plugin.  However, I don't understand where we get the DOM data to run those assertions?</p>
  
  <p>Ideally I want to insert a line of html.  Run the function on it.  And use the jQuery-Chai assertion to validate.</p>
  
  <p>Can someone help clear up where I would include the fixture to test these functions?</p>
  
  <p>Thanks in advance.</p>
  
  <p>Using: Testem with Mocha+Chai.</p>