title: Why does Chutzpah only see the tests if they listed under "References" section and doesn't if they under "Tests"
body: <p>I have a quite big solution with a few web module projects (they are kind of modules and they are copied into a common project which is the SPA). I started to write jasmine-typescript tests against my angular 1.5.8 code. In order to spare copying time I need to set up Chutzpah for every web project so I can test every module code.</p>
  
  <p>I have the chutzpah.json below and this way when I select "Open in Browser" then I can see the tests.</p>
  
  <pre><code>{
    "Framework": "jasmine",
    "FrameworkVersion": "2",
    "Compile": {"Mode": "External"},
    "References": [
      {
        "Path": "../../where_angular_and_other_scripts_are_placed/",
        "Includes": [ "*.js" ]
      },
      {
        "Path": "../../where_angular-mocks_are_placed/",
        "Includes": [ "*.js" ]
      },
      {
        "Path": "../../CommonLibrary/",
        "Includes": [ "*.js" ],
        "Excludes": [ "*.Spec.js" ]
      },
      {
        "Path": "app/modules/Framework/",
        "Includes": [ "*.Spec.js" ]
      }
    ]
  }
  </code></pre>
  
  <p>If I change the file like below then there are no tests. I don't understand why. Chutzpah cannot manage that a solution has more than one chutzpah.json in different directories? According to the documentation it shouldn't be problem.</p>
  
  <pre><code>{
    "Framework": "jasmine",
    "FrameworkVersion": "2",
    "Compile": {"Mode": "External"},
    "References": [
      {
        "Path": "../../where_angular_and_other_scripts_are_placed/",
        "Includes": [ "angular.js", "*.js" ]
      },
      {
        "Path": "../../where_angular-mocks_are_placed/",
        "Includes": [ "*.js" ]
      },
      {
        "Path": "../../CommonLibrary/",
        "Includes": [ "*.js" ],
        "Excludes": [ "*.Spec.js" ]
      }
    ],
    "Tests": [
      {
        "Path": "app/modules/Framework/",
        "Includes": [ "*.Spec.js" ]
      }
    ]
  }
  </code></pre>
  
  <p>Another issue with Chutzpah setup is that, it always says that angular is not defined. I have the code below and when I run it it says angular is not defined. If I remove the inject part then it runs. But, I need to mock things. I have the bad feeling the above configuration issue and the stuff below somehow connected.</p>
  
  <pre><code>describe("getActiveModules method", (): void =&gt;
              {
                  var RestangularMock: any;
                  var angularCommonCheckerService:AngularCommonCheckerService;
                  var dilibModuleService: IDiLibModuleService;
                  var $q: ng.IQService;
                  var allReturnObject: any;
  
                  beforeEach((): void =&gt;
                  {
  
                      //#region Arrange
                      angular.mock.inject(($injector): void =&gt; {
                          $q = $injector.get("$q");
                      });
  
                      RestangularMock = jasmine.createSpyObj("Restangular", ["all", "post"]);
  
                      angularCommonCheckerService = new AngularCommonCheckerService();
                      dilibModuleService = new DilibModuleService(RestangularMock, angularCommonCheckerService);
  
                      var returnList: IModuleContract[] = [
                          &lt;IModuleContract&gt;{ id: 100, isActive: 1 },
                          &lt;IModuleContract&gt;{ id: 101, isActive: 1 },
                      ];
  
                      var allReturnObject = &lt;any&gt;{
                          getList: (): IModuleContract[]&gt; =&gt; {
                              var deferred = $q.defer();
                              deferred.resolve(returnList);
                              return deferred.promise;
                          }
                      };
                      spyOn(allReturnObject, "getList");
                      //#endregion
  
                  });
  
                  it("should call Restangular resource with given string", (): void =&gt;
                  {
  
                      RestangularMock.all.and.returnValue(allReturnObject);
                      dilibModuleService.getActiveModules();
  
                      expect(RestangularMock.all).toHaveBeenCalledWith("FrameworkApp/Module/GetActiveModules");
                      expect(allReturnObject.getList).toHaveBeenCalledTimes(1);
  
                  });
  </code></pre>
  
  <p><strong>Questions</strong>:</p>
  
  <ul>
  <li>Why Chutzpah doesn't list tests when the test references listed under "Test"? Did I do something wrong?</li>
  <li>Is the issue around inject connected to the configuration issue?</li>
  <li>how can I debug Chutzpah and see what is included from the references and tests? It is enough to check the source of the generated html file?</li>
  </ul>