<commit_before>// Karma configuration
// Generated on Thu Jun 23 2016 14:05:57 GMT+0200 (CEST)

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

    // base path that will be used to resolve all patterns (eg. files, exclude)
    basePath: '',


    // frameworks to use
    // available frameworks: https://npmjs.org/browse/keyword/karma-adapter
    frameworks: ['qunit', 'openui5'],
    plugins: ['karma-qunit', 'karma-openui5', 'karma-chrome-launcher'],


    openui5: {
      path: 'https://openui5.hana.ondemand.com/resources/sap-ui-core.js',
      useMockServer: false
    },

    client: {
      openui5: {
        config: {
          theme: 'sap_bluecrystal',
          resourceRoots: {
            "ui5experts.toolbox": '/'
          }
        }
//        mockserver: {
//          config: {
//            autoRespond: true
//          },
//          rootUri: '/my/service/',
//          metadataURL: '/base/test/mock.xml',
//          mockdataSettings: {
//
//          }
//        }
      }
    },


    // list of files / patterns to load in the browser
    files: [
      'test/**/*.js'
    ],


    // list of files to exclude
    exclude: [
    ],


    // preprocess matching files before serving them to the browser
    // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
    preprocessors: {
    },


    // test results reporter to use
    // possible values: 'dots', 'progress'
    // available reporters: https://npmjs.org/browse/keyword/karma-reporter
    reporters: ['progress'],


    // web server port
    port: 9876,<commit_msg>fixes karma.conf.js adds resource roots serves files under test<commit_after>// Karma configuration
// Generated on Thu Jun 23 2016 14:05:57 GMT+0200 (CEST)

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

    // base path that will be used to resolve all patterns (eg. files, exclude)
    basePath: '',


    // frameworks to use
    // available frameworks: https://npmjs.org/browse/keyword/karma-adapter
    frameworks: ['qunit', 'openui5'],
    plugins: ['karma-qunit', 'karma-openui5', 'karma-chrome-launcher'],


    openui5: {
      path: 'https://openui5.hana.ondemand.com/resources/sap-ui-core.js',
      useMockServer: false
    },

    client: {
      openui5: {
        config: {
          theme: 'sap_bluecrystal',
          resourceRoots: {
            "ui5experts.toolbox": '/base'
          }
        }
//        mockserver: {
//          config: {
//            autoRespond: true
//          },
//          rootUri: '/my/service/',
//          metadataURL: '/base/test/mock.xml',
//          mockdataSettings: {
//
//          }
//        }
      }
    },


    // list of files / patterns to load in the browser
    files: [
      {
        pattern: 'src/**/*.js',
        watched: true,
        included: false,
        served: true
      },
      {
        pattern: 'test/**/*.js',
        watched: true,
        included: true,
        served: true
      }
    ],


    // list of files to exclude
    exclude: [
    ],


    // preprocess matching files before serving them to the browser
    // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
    preprocessors: {
    },


    // test results reporter to use
    // possible values: 'dots', 'progress'
    // available reporters: https://npmjs.org/browse/keyword/karma-reporter
    reporters: ['progress'],


    // web server port
    port: 9876,
{'fraction_non_alphanumeric': 0.14048865619546247, 'fraction_numerical': 0.015125072716695753, 'mean_word_length': 1.8444995864350704, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '4460044', 'n_tokens_mistral': 1123, 'n_tokens_neox': 1036, 'n_words': 247}