You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Karma configuration// Generated on Thu Aug 18 2016 11:47:04 GMT+0200 (CEST)module.exports=(config)=>{config.set({// base path that will be used to resolve all patterns (eg. files, exclude)basePath: '',// frameworks to use// available frameworks: https://npmjs.org/browse/keyword/karma-adapterframeworks: ['mocha'],client: {mocha: {// change Karma's debug.html to the mocha web reporterreporter: 'html',},},// list of files / patterns to load in the browserfiles: ['node_modules/babel-polyfill/dist/polyfill.js',{pattern: 'test/**/*.test.js'},],// list of files to excludeexclude: [],// preprocess matching files before serving them to the browser// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessorpreprocessors: {'test/**/*.test.js': ['webpack'],},webpack: {devtool: 'inline-source-map',externals: [{chcp: true,device: true,}],module: {loaders: [{test: /\.js$/,exclude: /node_modules/,loader: 'babel',}],},},// test results reporter to use// possible values: 'dots', 'progress'// available reporters: https://npmjs.org/browse/keyword/karma-reporterreporters: (process.env.TEAMCITY_VERSION
? ['teamcity']
: ['progress','mocha']).concat(['coverage']),coverageReporter: {reporters: [{type: 'html',dir: 'coverage/',subdir: '.'},{type: 'text-summary'},].concat(process.env.TEAMCITY_VERSION ? [{type: 'teamcity'}] : []),},// web server portport: 9876,// enable / disable colors in the output (reporters and logs)colors: true,// level of logging// possible values: config.LOG_DISABLE || config.LOG_ERROR ||// config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUGlogLevel: config.LOG_INFO,// enable / disable watching file and executing tests whenever any file changesautoWatch: true,// start these browsers// available browser launchers: https://npmjs.org/browse/keyword/karma-launcherbrowsers: ['Chrome'],// Continuous Integration mode// if true, Karma captures browsers, runs the tests and exitssingleRun: false,// Concurrency level// how many browser should be started simultaneousconcurrency: Infinity,});};
The text was updated successfully, but these errors were encountered:
I am using Karma and Webpack for my unit tests. Unfortunately depcheck
v0.6.6
tells mekarma.conf.js
The text was updated successfully, but these errors were encountered: