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({
|
2014-08-07 07:58:57 -05:00
|
|
|
basePath: '../../',
|
2014-01-01 11:40:25 -06:00
|
|
|
|
2014-08-07 03:42:05 -05:00
|
|
|
frameworks: ['mocha', 'requirejs', 'expect', 'sinon'],
|
2014-01-01 11:40:25 -06:00
|
|
|
|
|
|
|
// list of files / patterns to load in the browser
|
|
|
|
files: [
|
2015-03-29 06:06:53 -05:00
|
|
|
'public/test/test-main.js',
|
2015-09-10 05:42:24 -05:00
|
|
|
{pattern: 'public_gen/.app_gen/**/*.js', included: false},
|
|
|
|
{pattern: 'public_gen/vendor/**/*.js', included: false},
|
|
|
|
{pattern: 'public_gen/test/**/*.js', included: false},
|
|
|
|
{pattern: 'public_gen/**/*.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'],
|
2014-01-01 11:40:25 -06:00
|
|
|
captureTimeout: 60000,
|
2014-08-07 07:58:57 -05:00
|
|
|
singleRun: true,
|
|
|
|
|
2014-01-01 11:40:25 -06:00
|
|
|
});
|
|
|
|
};
|