{"size": 993, "ext": "js", "max_stars_repo_path": "app/templates/test/test-main.js", "max_stars_repo_name": "ytuvia/angular-requirejs-webapp-generator", "max_stars_repo_stars_event_min_datetime": "2015-05-30T20:08:31.000Z", "max_stars_repo_stars_event_max_datetime": "2015-05-30T20:08:31.000Z", "max_issues_repo_path": "app/templates/test/test-main.js", "max_issues_repo_name": "ytuvia/angular-requirejs-webapp-generator", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "app/templates/test/test-main.js", "max_forks_repo_name": "ytuvia/angular-requirejs-webapp-generator", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 32.0322580645, "max_line_length": 82, "alphanum_fraction": 0.6102719033}
var tests = [];
var pattern = new RegExp("/base/test/spec/.+\.js$");
for (var file in window.__karma__.files) {
    if (window.__karma__.files.hasOwnProperty(file)) {
        if (pattern.test(file)) {
            tests.push(file);
        }
    }
}

requirejs.config({
    // Karma serves files from '/base'
    baseUrl: '/base/app/scripts',
    paths: {
        "components": "../bower_components",
        "angular": "../bower_components/angular/angular",
        "angularMocks": "../bower_components/angular-mocks/angular-mocks",
        "angularResource": "../bower_components/angular-resource/angular-resource"
    },
    shim: {
        'angular' : {exports : 'angular'},
        'angularResource': { deps:['angular'], exports:'angularResource'},
        'angularMocks': { deps:['angular'], exports: 'angularMocks'}
    },

    // ask Require.js to load these files (all our tests)
    deps: tests,

    // start test run, once Require.js is done
    callback: window.__karma__.start
});