var merge = require ( 'webpack-merge' ) ; module . exports = function ( config ) { config . set ( { basePath : '' , frameworks : [ 'mocha' ] , files : [ 'specs/**/*.ts' ] , exclude : [ ] , preprocessors : { 'specs/**/*.ts' : [ 'webpack' ] } , webpack : { resolve : { extensions : [ '.js' , '.ts' ] , alias : { vue$ : 'vue/dist/vue.common.js' } } , module : { loaders : [ { test : /\.ts(x?)$/ , loader : 'ts-loader' } ] } } , webpackMiddleware : { quiet : false , noInfo : true , stats : { assets : false , colors : true , version : false , hash : false , timings : false , chunks : false , chunkModules : false } } , plugins : [ 'karma-webpack' , 'karma-mocha' , 'karma-phantomjs-launcher' , 'karma-mocha-reporter' ] , reporters : [ 'mocha' ] , port : 9876 , colors : true , logLevel : config . LOG_INFO , autoWatch : true , browsers : [ 'PhantomJS' ] , singleRun : true , concurrency : Infinity } ) ; } ;