grafana/public/test/karma.conf.js

32 lines
734 B
JavaScript
Raw Normal View History

module.exports = function(config) {
'use strict';
config.set({
basePath: '../../',
2014-08-07 03:42:05 -05:00
frameworks: ['mocha', 'requirejs', 'expect', 'sinon'],
// list of files / patterns to load in the browser
files: [
'public/test/test-main.js',
{pattern: 'public/app/**/*.js', included: false},
{pattern: 'public/vendor/**/*.js', included: false},
{pattern: 'public/test/**/*.js', included: false},
{pattern: 'public/**/*.js', included: false}
],
// list of files to exclude
2014-03-22 07:45:02 -05:00
exclude: [],
reporters: ['dots'],
port: 9876,
colors: true,
logLevel: config.LOG_INFO,
autoWatch: true,
browsers: ['PhantomJS'],
captureTimeout: 60000,
singleRun: true,
});
};