opusdev/vector-similarity-api
1
1// Karma configuration2// Generated on Fri Dec 16 2016 13:09:51 GMT+0000 (UTC)3 4module.exports = function(config) {5 config.set({6 7 // base path that will be used to resolve all patterns (eg. files, exclude)8 basePath: '',9 10 11 // frameworks to use12 // available frameworks: https://npmjs.org/browse/keyword/karma-adapter13 frameworks: ['mocha', 'chai', 'sinon'],14 15 16 // list of files / patterns to load in the browser17 files: [18 'dist/debug.js',19 'test/*spec.js'20 ],21 22 23 // list of files to exclude24 exclude: [25 'src/node.js'26 ],27 28 29 // preprocess matching files before serving them to the browser30 // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor31 preprocessors: {32 },33 34 // test results reporter to use35 // possible values: 'dots', 'progress'36 // available reporters: https://npmjs.org/browse/keyword/karma-reporter37 reporters: ['progress'],38 39 40 // web server port41 port: 9876,42 43 44 // enable / disable colors in the output (reporters and logs)45 colors: true,46 47 48 // level of logging49 // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG50 logLevel: config.LOG_INFO,51 52 53 // enable / disable watching file and executing tests whenever any file changes54 autoWatch: true,55 56 57 // start these browsers58 // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher59 browsers: ['PhantomJS'],60 61 62 // Continuous Integration mode63 // if true, Karma captures browsers, runs the tests and exits64 singleRun: false,65 66 // Concurrency level67 // how many browser should be started simultaneous68 concurrency: Infinity69 })70}71 