<commit_before>/*jshint browser: true, jasmine: true */
/*global angular, inject, module */

describe('Tab Sref directive', function () {
    'use strict';

    var uibTabHtml,
        $compile,
        $provide,
        $rootScope,
        $state,
        $timeout;

    beforeEach(module(
        'ngMock',
        'ui.router',
        'sky.tabsref',
        'uib/template/tabs/tabset.html',
        'uib/template/tabs/tab.html'
    ));

    beforeEach(module(function (_$provide_) {
        $provide = _$provide_;

        $state = {
            go: angular.noop,
            is: angular.noop
        };

        $provide.value('$state', $state);
    }));

    beforeEach(inject(function (_$compile_, _$rootScope_, _$timeout_) {
        $compile = _$compile_;
        $rootScope = _$rootScope_;
        $timeout = _$timeout_;
    }));

    describe('active on tabset', function () {
        beforeEach(function () {
            /*jslint white: true */<commit_msg>add stub for includes<commit_after>/*jshint browser: true, jasmine: true */
/*global angular, inject, module */

describe('Tab Sref directive', function () {
    'use strict';

    var uibTabHtml,
        $compile,
        $provide,
        $rootScope,
        $state,
        $timeout;

    beforeEach(module(
        'ngMock',
        'ui.router',
        'sky.tabsref',
        'uib/template/tabs/tabset.html',
        'uib/template/tabs/tab.html'
    ));

    beforeEach(module(function (_$provide_) {
        $provide = _$provide_;

        $state = {
            go: angular.noop,
            is: angular.noop,
            includes: angular.noop
        };

        $provide.value('$state', $state);
    }));

    beforeEach(inject(function (_$compile_, _$rootScope_, _$timeout_) {
        $compile = _$compile_;
        $rootScope = _$rootScope_;
        $timeout = _$timeout_;
    }));

    describe('active on tabset', function () {
        beforeEach(function () {
            /*jslint white: true */
{'fraction_non_alphanumeric': 0.14524291497975708, 'fraction_numerical': 0.0, 'mean_word_length': 2.0, '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': '7543847', 'n_tokens_mistral': 623, 'n_tokens_neox': 591, 'n_words': 119}