mirror of
https://github.com/grafana/grafana.git
synced 2024-11-25 18:30:41 -06:00
38 lines
873 B
JavaScript
38 lines
873 B
JavaScript
module.exports = function(config) {
|
|
'use strict';
|
|
|
|
config.set({
|
|
basePath: __dirname + '/public_gen',
|
|
|
|
frameworks: ['mocha', 'expect', 'sinon'],
|
|
|
|
// list of files / patterns to load in the browser
|
|
files: [
|
|
'vendor/npm/es5-shim/es5-shim.js',
|
|
'vendor/npm/es6-shim/es6-shim.js',
|
|
'vendor/npm/es6-promise/dist/es6-promise.js',
|
|
'vendor/npm/systemjs/dist/system.src.js',
|
|
'test/test-main.js',
|
|
|
|
{pattern: 'app/**/*.js', included: false},
|
|
{pattern: 'vendor/**/*.js', included: false},
|
|
{pattern: 'test/**/*.js', included: false}
|
|
],
|
|
|
|
// list of files to exclude
|
|
exclude: [],
|
|
|
|
reporters: ['dots'],
|
|
port: 9876,
|
|
colors: true,
|
|
logLevel: config.LOG_INFO,
|
|
autoWatch: true,
|
|
browsers: ['PhantomJS'],
|
|
captureTimeout: 60000,
|
|
singleRun: true,
|
|
autoWatchBatchDelay: 1000,
|
|
|
|
});
|
|
|
|
};
|