2014-01-01 11:40:25 -06:00
|
|
|
module.exports = function(config) {
|
2014-04-06 03:47:14 -05:00
|
|
|
'use strict';
|
|
|
|
|
2014-01-01 11:40:25 -06:00
|
|
|
config.set({
|
2015-09-15 06:23:36 -05:00
|
|
|
basePath: __dirname + '/public_gen',
|
2014-01-01 11:40:25 -06:00
|
|
|
|
2015-12-21 04:10:16 -06:00
|
|
|
frameworks: ['mocha', 'expect', 'sinon'],
|
2014-01-01 11:40:25 -06:00
|
|
|
|
|
|
|
// list of files / patterns to load in the browser
|
|
|
|
files: [
|
2015-12-21 04:10:16 -06:00
|
|
|
'vendor/npm/es5-shim/es5-shim.js',
|
2015-12-21 09:00:58 -06:00
|
|
|
'vendor/npm/es5-shim/es5-sham.js',
|
2015-12-21 04:10:16 -06:00
|
|
|
'vendor/npm/es6-shim/es6-shim.js',
|
|
|
|
'vendor/npm/es6-promise/dist/es6-promise.js',
|
|
|
|
'vendor/npm/systemjs/dist/system.src.js',
|
2015-09-15 06:23:36 -05:00
|
|
|
'test/test-main.js',
|
2015-12-21 04:10:16 -06:00
|
|
|
|
2015-12-21 09:00:58 -06:00
|
|
|
{pattern: '**/*.js', included: false},
|
2014-01-01 11:40:25 -06:00
|
|
|
],
|
|
|
|
|
|
|
|
// list of files to exclude
|
2014-03-22 07:45:02 -05:00
|
|
|
exclude: [],
|
2014-01-01 11:40:25 -06:00
|
|
|
|
2014-08-06 08:57:40 -05:00
|
|
|
reporters: ['dots'],
|
2014-01-01 11:40:25 -06:00
|
|
|
port: 9876,
|
|
|
|
colors: true,
|
|
|
|
logLevel: config.LOG_INFO,
|
|
|
|
autoWatch: true,
|
2014-08-07 07:58:57 -05:00
|
|
|
browsers: ['PhantomJS'],
|
2015-12-21 09:00:58 -06:00
|
|
|
captureTimeout: 2000,
|
2014-08-07 07:58:57 -05:00
|
|
|
singleRun: true,
|
2015-09-28 08:23:53 -05:00
|
|
|
autoWatchBatchDelay: 1000,
|
2014-08-07 07:58:57 -05:00
|
|
|
|
2014-01-01 11:40:25 -06:00
|
|
|
});
|
2015-09-11 01:00:13 -05:00
|
|
|
|
2014-01-01 11:40:25 -06:00
|
|
|
};
|