const pkg = require ( './package.json' ) ; const webpackConfig = require ( './webpack.config.js' ) ; const dist = 'dist/' ; const projectName = pkg . name . replace ( '@wireapp/' , '' ) ; const testCode = 'src/**/*test?(.browser).ts' ; const preprocessors = { [ testCode ] : [ 'webpack' ] , } ; module . exports = ( config ) : void => { config . set ( { autoWatch : false , basePath : '' , browsers : [ 'ChromeNoSandbox' ] , client : { useIframe : false , } , colors : true , concurrency : Infinity , customLaunchers : { ChromeNoSandbox : { base : 'ChromeHeadless' , flags : [ '--no-sandbox' ] , } , } , exclude : [ ] , files : [ { pattern : testCode , watched : false } ] , frameworks : [ 'jasmine' ] , logLevel : config . LOG_INFO , port : 9876 , preprocessors , reporters : [ 'jasmine-diff' , 'spec' ] , singleRun : true , webpack : webpackConfig , } ) ; } ;