<commit_before><commit_msg>Adding skeleton unit test for listings controller.<commit_after>namespace app.admin.articles.listing {

    describe('Admin - Articles Listing', () => {

        let articles:common.models.Article[],
            $rootScope:global.IRootScope,
            $scope:ng.IScope,
            $stateParams:IArticlesListingStateParams = <IArticlesListingStateParams> {
                page:1
            },
            articleService:common.services.article.ArticleService,
            articlesPaginator:common.services.pagination.Paginator,
            ArticlesListingController:ArticlesListingController;

        beforeEach(() => {

            module('app');

            inject(($controller, _$rootScope_, _articleService_) => {
                $rootScope = _$rootScope_;
                $scope = $rootScope.$new();
                articleService = _articleService_;

                // Setup articlesPaginator before injection
                articlesPaginator = articleService.getArticlesPaginator().setCount(10);

                ArticlesListingController = $controller(app.admin.articles.listing.namespace + '.controller', {
                    articlesPaginator: articlesPaginator,
                    initArticles: articles,
                    $stateParams: $stateParams
                });
            });

        });

        // Temporary until the controller is fleshed out more
        it('should perform one test and pass it', () => {

            expect(true).to.be.true;

        });

    });

}
{'fraction_non_alphanumeric': 0.10052219321148825, 'fraction_numerical': 0.0019582245430809398, 'mean_word_length': 1.994140625, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 8, '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': '5894310', 'n_tokens_mistral': 389, 'n_tokens_neox': 363, 'n_words': 63}