<commit_before>var allTestFiles = [];
var TEST_REGEXP = /(spec|test)\.js$/i;

Object.keys(window.__karma__.files).forEach(function(file) {
    if (TEST_REGEXP.test(file)) {
        allTestFiles.push(file);
    }
});

require.config({
    // Karma serves files under /base, which is the basePath from your config file
    paths: {
        'slugify': 'slugify'
    },

    baseUrl: '/base/app/js',

    // dynamically load all test files
    deps: allTestFiles,<commit_msg>Add missing js reference<commit_after>var allTestFiles = [];
var TEST_REGEXP = /(spec|test)\.js$/i;

Object.keys(window.__karma__.files).forEach(function(file) {
    if (TEST_REGEXP.test(file)) {
        allTestFiles.push(file);
    }
});

require.config({
    // Karma serves files under /base, which is the basePath from your config file
    paths: {
        'slugify': 'slugify',
        'calculator': 'calculator'
    },

    baseUrl: '/base/app/js',

    // dynamically load all test files
    deps: allTestFiles,
{'fraction_non_alphanumeric': 0.1435793731041456, 'fraction_numerical': 0.0, 'mean_word_length': 3.024390243902439, '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': '6391907', 'n_tokens_mistral': 332, 'n_tokens_neox': 325, 'n_words': 74}