title: Asp.Net 5 and Aurelia Karma tests
body: <p>I'm trying to setup the skeleton-navigation project for Aurelia in a new ASP.NET 5 application. I've tried numerous things and believe I'm getting close, but am really getting caught up on the client-side tests.</p>
  
  <p>I downloaded the <a href="https://github.com/aurelia/skeleton-navigation" rel="nofollow">skeleton project</a> from the Aurelia repo on GitHub and unzipped it.</p>
  
  <p>I utilized Scott Allen's suggestions for setting the jspm settings to place the jspm packages in the wwwroot folder as stated in <a href="http://odetocode.com/blogs/scott/archive/2015/02/18/using-jspm-with-visual-studio-2015-and-asp-net-5.aspx" rel="nofollow">this post</a>.</p>
  
  <p>I then updated the project structure to look like this:</p>
  
  <pre><code>sln
  |-&gt;wwwroot
   |-&gt;dist
   |-&gt;jspm_modules
   |-&gt;src
   |-&gt;styles
   |-&gt;test
   |-&gt;config.js
   |-&gt;index.html
   |-&gt;index.js
  |-&gt;build
  |-&gt;Controllers
  |-&gt;doc
  |-&gt;node_modules
  |-&gt;aurelia.protractor.js
  |-&gt;aureliafile.js
  |-&gt;gulpfile.js
  |-&gt;karma.conf.js
  |-&gt;package.json
  |-&gt;project.json
  |-&gt;protractor.conf.js
  |-&gt;Startup.cs
  </code></pre>
  
  <p>I have two questions:</p>
  
  <p><strong>1.</strong> Where should the test folder from the Aurelia skeleton-navigation startup project live? On the one hand wwwroot makes a lot of sense because that is where the rest of the application specific
      javascript    files will live. On the other hand though, those files
      shouldn't ever    be served to a client, so to put them in wwwroot
      doesn't make a whole    lot of sense.</p>
  
  <p><strong>2.</strong> Once they are residing in their proper place in the project structure, what files/values need to be updated to get the tests running appropriately? For the moment I placed them in the wwwroot directory. I updated the basePath in the karma.conf.js file to 'wwwroot'. When I perform the <em>karma start</em> command though it is giving me a 404 error trying to locate '/base/app-bundle.js'. That file exists at 'wwwroot/dist/app-bundle.js', but I can't figure out how to configure karma to find it there.</p>
  
  <p>Any help would be greatly appreciated.</p>