<commit_before>(function(describe){
    "use strict";
    describe("Facility home controllers test suite", function(){
        var createController, $scope, $stateParams, $httpBackend, $state, facilitiesApi;
        var SERVER_URL;

        beforeEach(function(){
            module("mflAdminApp");
            inject(["$rootScope", "$controller", "$stateParams", "$httpBackend",
                   "$state", "mfl.facilities.wrappers","SERVER_URL",
                   function($rootScope, $controller,_$stateParams,
                    _$httpBackend, _$state, _facilityApi, frm, _SERVER_URL){
                $scope = $rootScope.$new();
                SERVER_URL = _SERVER_URL;
                $httpBackend = _$httpBackend;
                $stateParams = _$stateParams;
                $state = _$state;
                facilitiesApi = _facilityApi;
                var data = {
                    $scope: $scope
                };
                createController = function(ctrl, params){
                    return $controller(ctrl, _.extend(data, params));

                };
            }]);
        });

        afterEach(function(){
            $httpBackend.verifyNoOutstandingRequest();
        });

        it("should have `mfl.facilities.controllers.home.list` defined",
           function(){
                var ctrl = createController("mfl.facilities.controllers.home.list", {});
                expect(ctrl).toBeDefined();
            });
    });
})(describe);<commit_msg>added tests for facility status and facility type controller tests<commit_after>(function(describe){
    "use strict";
    describe("Facility home controllers test suite", function(){
        var createController, $scope, $stateParams, $httpBackend, $state, facilitiesApi;
        var SERVER_URL;

        beforeEach(function(){
            module("mflAdminApp");
            inject(["$rootScope", "$controller", "$stateParams", "$httpBackend",
                   "$state", "mfl.facilities.wrappers","SERVER_URL",
                   function($rootScope, $controller,_$stateParams,
                    _$httpBackend, _$state, _facilityApi, frm, _SERVER_URL){
                $scope = $rootScope.$new();
                SERVER_URL = _SERVER_URL;
                $httpBackend = _$httpBackend;
                $stateParams = _$stateParams;
                $state = _$state;
                facilitiesApi = _facilityApi;
                var data = {
                    $scope: $scope
                };
                createController = function(ctrl, params){
                    return $controller(ctrl, _.extend(data, params));

                };
            }]);
        });

        afterEach(function(){
            $httpBackend.verifyNoOutstandingRequest();
        });

        it("should have `mfl.facilities.controllers.home.list` defined",
           function(){
                var ctrl = createController("mfl.facilities.controllers.home.list", {});
                expect(ctrl).toBeDefined();
            });

        it("should have `mfl.facilities.controllers.home.facility_status` defined",
           function(){
                var ctrl = createController("mfl.facilities.controllers.home.facility_status", {});
                expect(ctrl).toBeDefined();
            });

        it("should have `mfl.facilities.controllers.home.facility_type` defined",
           function(){
                var ctrl = createController("mfl.facilities.controllers.home.facility_type", {});
                expect(ctrl).toBeDefined();
            });
    });
})(describe);
{'fraction_non_alphanumeric': 0.12685938815604828, 'fraction_numerical': 0.0, 'mean_word_length': 1.864951768488746, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7247257', 'n_tokens_mistral': 926, 'n_tokens_neox': 885, 'n_words': 162}