title: how to run karma/jasmine tests in visual studio?
body: <p>How can I run karma/jasmine tests?  I set up a basic test within a .NET MVC app previously and I'm pretty sure I ran it and it passed but I'm forgetting how to load the runner for the test now.</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>Looks like package.json needs a "scripts" property with a "test" property.</p>
  
  <p>My "test" property is configured to call "karma start ./karma.conf.js"</p>
  
  <p>My package.json file has the following additional property:</p>
  
  <p>"directories": {
      "test": "tests"
    },</p>
  
  <p>My karma.conf.js has the following config setting:</p>
  
  <pre><code>files: [  
      'tests/*Spec.js'  
  ], 
  </code></pre>
  
  <p>However, when I exec cmd "npm test", the tests in my tests/BasicSpec.js file don't get loaded into the browser.  Any idea what the issue might be?</p>