<commit_before>require.config({

    paths: {
        jquery: 'test/helpers/lib/jquery-1.8.2.min',
        underscore: '../assets/underscore',
        backbone: '../assets/backbone',
        status: 'test/helpers/stubs/UserStatus',
        handlebars: '../assets/handlebars',
        hbt: 'test/helpers/stubs/hbt',
        tiddlerModel: '../assets/TiddlerModel',
        tiddlerCollection: '../assets/TiddlerCollection',
        tiddlerListItemView: '../assets/TiddlerListItemView',
        TiddlerListItem: '../assets/TiddlerListItem'
    },

    hbt: {
        extension: 'html'
    }
});

require([
            'handlebars',
            'tiddlerModel',
            'tiddlerCollection',
            'tiddlerListItemView',
            '/test/spec/TiddlerModelSpec.js',
            '/test/spec/TiddlerCollectionSpec.js',
            '/test/spec/TiddlerListItemViewSpec.js'
        ],
        function () {

            var jasmineEnv = jasmine.getEnv();
            jasmineEnv.updateInterval = 1000;

            var htmlReporter = new jasmine.HtmlReporter();

            jasmineEnv.addReporter(htmlReporter);

            jasmineEnv.specFilter = function (spec) {
                return htmlReporter.specFilter(spec);
            };

            var currentWindowOnload = window.onload;

            window.onload = function () {
                if (currentWindowOnload) {
                    currentWindowOnload();
                }
                execJasmine();
            };

            function execJasmine() {
                jasmineEnv.execute();
            }

        }
);<commit_msg>Removed require callback to stop double test runs.<commit_after>require.config({

    paths: {
        jquery: 'test/helpers/lib/jquery-1.8.2.min',
        underscore: '../assets/underscore',
        backbone: '../assets/backbone',
        status: 'test/helpers/stubs/UserStatus',
        handlebars: '../assets/handlebars',
        hbt: 'test/helpers/stubs/hbt',
        tiddlerModel: '../assets/TiddlerModel',
        tiddlerCollection: '../assets/TiddlerCollection',
        tiddlerListItemView: '../assets/TiddlerListItemView',
        TiddlerListItem: '../assets/TiddlerListItem'
    },

    hbt: {
        extension: 'html'
    }
});

require([
    'handlebars',
    'tiddlerModel',
    'tiddlerCollection',
    'tiddlerListItemView',
    '/test/spec/TiddlerModelSpec.js',
    '/test/spec/TiddlerCollectionSpec.js',
    '/test/spec/TiddlerListItemViewSpec.js'
]);
{'fraction_non_alphanumeric': 0.1354420113544201, 'fraction_numerical': 0.0040551500405515, 'mean_word_length': 1.9404052443384983, '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': '5908258', 'n_tokens_mistral': 756, 'n_tokens_neox': 720, 'n_words': 101}