title: Jasmine.js v2.0.0 - TypeError: Cannot read property 'stopPropagation' of undefined
body: <p>I am new to Jasmine2 JS framework. I am using Jasmine.js framework to create test suites for my application developed in Backbone.js framework.</p>
  <p>When I am creating test cases for Backbone.js -&gt; views home.js file, one of my home.js views function has</p>
  <pre><code>event.stopPropagation();
  </code></pre>
  <p>and another function has</p>
  <pre><code>event.preventDefault();
  </code></pre>
  <p>If my Backbone.js -&gt; views function has <strong>event.stopPropagation(); and event.preventDefault();</strong>, my test suites throws error as below:</p>
  <p><strong>TypeError: Cannot read property 'stopPropagation' of undefined</strong></p>
  <p>How to write a test cases for my views function which has <code>event.stopPropagation(); and event.preventDefault();</code></p>
  <p>or</p>
  <p>how to skip these has event.stopPropagation(); and event.preventDefault(); when I am calling function from Jasmine.js framework?</p>