2018-05-29 21:53:35 +00:00
|
|
|
module.exports = function(config) {
|
|
|
|
config.set({
|
2018-06-01 16:46:10 +00:00
|
|
|
basePath: '../',
|
2018-05-29 21:53:35 +00:00
|
|
|
frameworks: ['mocha', 'chai', 'sinon-chai'],
|
|
|
|
files: [
|
2019-07-04 23:17:54 +00:00
|
|
|
'./node_modules/jquery/dist/jquery.min.js',
|
|
|
|
'./node_modules/bluebird/js/browser/bluebird.min.js',
|
2018-05-29 21:53:35 +00:00
|
|
|
'./src/js/serial.js',
|
|
|
|
'./src/js/data_storage.js',
|
|
|
|
'./src/js/localization.js',
|
|
|
|
'./src/js/gui.js',
|
2019-03-23 23:21:52 +00:00
|
|
|
'./node_modules/jquery-textcomplete/dist/jquery.textcomplete.min.js',
|
|
|
|
'./src/js/CliAutoComplete.js',
|
2018-05-29 21:53:35 +00:00
|
|
|
'./src/js/tabs/cli.js',
|
2018-06-01 16:46:10 +00:00
|
|
|
'./test/**/*.js'
|
2018-05-29 21:53:35 +00:00
|
|
|
],
|
2018-06-01 16:46:10 +00:00
|
|
|
browsers: ['ChromeHeadlessNoSandbox'],
|
|
|
|
customLaunchers: {
|
|
|
|
ChromeHeadlessNoSandbox: {
|
|
|
|
base: 'ChromeHeadless',
|
|
|
|
flags: ['--no-sandbox']
|
|
|
|
}
|
|
|
|
},
|
2018-05-29 21:53:35 +00:00
|
|
|
singleRun: true
|
|
|
|
});
|
|
|
|
};
|