<commit_before>'use strict';

module.exports = function(config) {
    config.set({

        basePath: '../../../',

        frameworks: ['jasmine'],

        files: [
            'node_modules/reflect-metadata/Reflect.js',
            'node_modules/zone.js/dist/zone.js',
            'node_modules/zone.js/dist/long-stack-trace-zone.js',
            'node_modules/zone.js/dist/proxy.js',
            'node_modules/zone.js/dist/sync-test.js',
            'node_modules/zone.js/dist/jasmine-patch.js',
            'node_modules/zone.js/dist/async-test.js',
            'node_modules/zone.js/dist/fake-async-test.js',
            'node_modules/papaparse/papaparse.js',
            'node_modules/systemjs/dist/system.src.js',
            'node_modules/pouchdb/dist/pouchdb.js',
            { pattern: 'node_modules/@angular/**/*.js', included: false, watched: false },
            { pattern: 'node_modules/rxjs/**/*.js', included: false, watched: false },
            { pattern: 'node_modules/angular2-uuid/**/*.js', included: false, watched: false },
            { pattern: 'node_modules/systemjs/dist/system-polyfills.js', included: false, watched: false },

            // our stuff
            { pattern: 'node_modules/idai-components-2/**/!(*spec).js', included: false, watched: false },
            { pattern: 'app/**/*.js', included: false, watched: true },
            { pattern: 'config/*', included: false, watched: false },
            { pattern: 'test/browser/**/*.spec.js', included: false, watched: true },
            'systemjs-base.config.js',
            'test/browser/config/main.js'
        ],

        exclude: [
            'node_modules/@angular/**/*_spec.js',

            // our stuff
            'node_modules/idai-components-2/test/**/*'
        ],

        reporters: ['dots'],

        port: 9877,

        colors: true,

        logLevel: config.LOG_INFO, // it must show WARN for them to be caught in ci. see build script.
        autoWatch: true,

        browsers: [
            'Chrome'
        ],

        singleRun: true
    });
};<commit_msg>try another fix for browser tests on travis<commit_after>'use strict';

module.exports = function(config) {
    var configuration = {

        basePath: '../../../',

        frameworks: ['jasmine'],

        files: [
            'node_modules/reflect-metadata/Reflect.js',
            'node_modules/zone.js/dist/zone.js',
            'node_modules/zone.js/dist/long-stack-trace-zone.js',
            'node_modules/zone.js/dist/proxy.js',
            'node_modules/zone.js/dist/sync-test.js',
            'node_modules/zone.js/dist/jasmine-patch.js',
            'node_modules/zone.js/dist/async-test.js',
            'node_modules/zone.js/dist/fake-async-test.js',
            'node_modules/papaparse/papaparse.js',
            'node_modules/systemjs/dist/system.src.js',
            'node_modules/pouchdb/dist/pouchdb.js',
            { pattern: 'node_modules/@angular/**/*.js', included: false, watched: false },
            { pattern: 'node_modules/rxjs/**/*.js', included: false, watched: false },
            { pattern: 'node_modules/angular2-uuid/**/*.js', included: false, watched: false },
            { pattern: 'node_modules/systemjs/dist/system-polyfills.js', included: false, watched: false },

            // our stuff
            { pattern: 'node_modules/idai-components-2/**/!(*spec).js', included: false, watched: false },
            { pattern: 'app/**/*.js', included: false, watched: true },
            { pattern: 'config/*', included: false, watched: false },
            { pattern: 'test/browser/**/*.spec.js', included: false, watched: true },
            'systemjs-base.config.js',
            'test/browser/config/main.js'
        ],

        exclude: [
            'node_modules/@angular/**/*_spec.js',

            // our stuff
            'node_modules/idai-components-2/test/**/*'
        ],

        reporters: ['dots'],

        port: 9877,

        colors: true,

        logLevel: config.LOG_INFO, // it must show WARN for them to be caught in ci. see build script.
        autoWatch: true,

        browsers: [
            'Chrome'
        ],

        customLaunchers: {
            Chrome_travis_ci: {
                base: 'Chrome',
                flags: ['--no-sandbox']
            }
        },

        singleRun: true
    };

    if (process.env.TRAVIS) {
        configuration.browsers = ['Chrome_travis_ci'];
    }

    config.set(configuration);
};
{'fraction_non_alphanumeric': 0.15894336243563914, 'fraction_numerical': 0.0031340944705618985, 'mean_word_length': 1.8900388098318242, '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': '5880004', 'n_tokens_mistral': 1374, 'n_tokens_neox': 1335, 'n_words': 229}