Files
yoga/karma.conf.js

42 lines
937 B
JavaScript
Raw Normal View History

'use strict';
module.exports = function (config) {
2015-02-04 21:56:40 -05:00
config.set({
2015-02-04 21:56:40 -05:00
// base path, that will be used to resolve files and exclude
basePath: 'src',
2015-02-04 21:56:40 -05:00
// frameworks to use
frameworks: ['jasmine'],
2015-02-04 21:56:40 -05:00
// list of files / patterns to load in the browser
files: [
'Layout.js',
'Layout-test-utils.js',
'__tests__/Layout-test.js',
'__tests__/Layout-consts-test.js'
],
2015-02-04 21:56:40 -05:00
plugins: [
'karma-chrome-launcher',
'karma-jasmine'
],
2015-02-04 21:56:40 -05:00
// web server port
port: 9876,
2015-02-04 21:56:40 -05:00
// enable / disable colors in the output (reporters and logs)
colors: true,
2015-02-04 21:56:40 -05:00
// level of logging
// possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
logLevel: config.LOG_INFO,
2015-02-04 21:56:40 -05:00
browsers: ['Chrome'],
2015-02-04 21:56:40 -05:00
// If browser does not capture in given timeout [ms], kill it
captureTimeout: 60000,
2015-02-04 21:56:40 -05:00
singleRun: false
});
};