UNPKG

apicase-core

Version:

Core library to make API calls with any adapter

64 lines (56 loc) 1.59 kB
/* karma configuration */ module.exports = function (config) { config.set({ // Start these browsers, currently available: // - Chrome // - ChromeCanary // - Firefox // - Opera (has to be installed with `npm install karma-opera-launcher`) // - Safari (only Mac; has to be installed with `npm install karma-safari-launcher`) // - PhantomJS // - IE (only Windows; has to be installed with `npm install karma-ie-launcher`) browsers: ['Chrome'], port: 8080, files: [ { pattern: 'tests.webpack.js', watched: false } ], frameworks: [ 'jasmine' ], preprocessors: { 'tests.webpack.js': ['webpack'] }, colors: true, // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG logLevel: config.LOG_INFO, captureTimeout: 60000, singleRun: true, autoWatch: true, // possible values: 'dots', 'progress', 'junit', 'growl', 'coverage' reporters: ['verbose'], htmlReporter: { outputFile: 'report/units.html', // Optional pageTitle: 'Unit Tests', subPageTitle: 'A sample project description', groupSuites: true, useCompactStyle: true, useLegacyStyle: true }, webpack: { cache: true, entry: ['babel-polyfill'], module: { loaders: [ { test: /\.js/, exclude: /node_modules/, loader: 'babel-loader' } ] } } }) }