title: AngularJS unit testing with ReSharper
body: <p>I'm trying to get Jasmine unit tests for an AngularJS controller running with the ReSharper test runner so I can run my client and server-side tests in one place within VS 2012.</p>
  
  <p>I'm running into an issue where the ReSharper test runner is failing with a message of "Inconclusive: Test wasn't run". The same test runs fine using the test runner that comes with the AngularJS Seed project.</p>
  
  <p>Here's my simple test for troubleshooting:</p>
  
  <pre><code>/// &lt;reference path="~/Scripts/angular/angular.js"/&gt;
  /// &lt;reference path="~/tests/test/lib/angular/angular-mocks.js"/&gt;
  /// &lt;reference path="~/Scripts/app/controllers.js"/&gt;
  
  'use strict';
  
  describe('controllers', function(){
    beforeEach(module('myApp.controllers'));
  
    it('should ....', inject(function() {
        expect(1).toEqual(1);
    }));
  });
  </code></pre>
  
  <p>I suspect it has something to do with my references because if I remove the call to <code>inject</code>, my test runs fine. However, <code>inject</code> is defined in angular-mocks.js (which I'm referencing) so I'm not sure what the problem is.</p>
  
  <p>Any suggestions?</p>