<commit_before>var allTestFiles = [];
// var TEST_REGEXP = /test.*\.js$/;
var TEST_REGEXP = /.*Spec\.js$/;

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

var dojoConfig = {
    packages: [
        // local pacakges to test
        {
            name:"esri-utils",
            location:"/base/src/esri-utils"
        },
        // hosted packages
        {
            name: 'esri',
            location: 'http://js.arcgis.com/3.6/js/esri'
        }, {
            name: 'dojo',
            location: 'http://js.arcgis.com/3.6/js/dojo/dojo'
        }, {
            name: 'dojox',
            location: 'http://js.arcgis.com/3.6/js/dojo/dojox'
        }, {
            name: 'dijit',
            location: 'http://js.arcgis.com/3.6/js/dojo/dijit'
        }
    ],
    async: true
};


/**
 * This function must be defined and is called back by the dojo adapter
  * @returns {string} a list of dojo spec/test modules to register with your testing framework
 */
window.__karma__.dojoStart = function(){
    return allTestFiles;
}<commit_msg>upgraded ver of JSAPI to 3.7<commit_after>var allTestFiles = [];
// var TEST_REGEXP = /test.*\.js$/;
var TEST_REGEXP = /.*Spec\.js$/;

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

var dojoConfig = {
    packages: [
        // local pacakges to test
        {
            name:"esri-utils",
            location:"/base/src/esri-utils"
        },
        // hosted packages
        {
            name: 'esri',
            location: 'http://js.arcgis.com/3.7/js/esri'
        }, {
            name: 'dojo',
            location: 'http://js.arcgis.com/3.7/js/dojo/dojo'
        }, {
            name: 'dojox',
            location: 'http://js.arcgis.com/3.7/js/dojo/dojox'
        }, {
            name: 'dijit',
            location: 'http://js.arcgis.com/3.7/js/dojo/dijit'
        }
    ],
    async: true
};


/**
 * This function must be defined and is called back by the dojo adapter
  * @returns {string} a list of dojo spec/test modules to register with your testing framework
 */
window.__karma__.dojoStart = function(){
    return allTestFiles;
}
{'fraction_non_alphanumeric': 0.15502854633289415, 'fraction_numerical': 0.007905138339920948, 'mean_word_length': 1.8088779284833538, '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': '1399269', 'n_tokens_mistral': 785, 'n_tokens_neox': 772, 'n_words': 149}