svg-inline-react
Version:
Inline SVG wrapper component for React
32 lines (29 loc) • 738 B
JavaScript
var webpackConf = require('./webpack.config.js');
module.exports = function(config) {
var conf = {
basePath: '.',
files: [
'./test/test.js',
],
exclude: [],
frameworks: ['mocha'],
preprocessors: {
'./test/**/*.js': ['webpack'],
},
port: 9876,
colors: true,
logLevel: config.LOG_DEBUG,
browsers: ['Chrome'],
browserNoActivityTimeout: 1000000,
plugins: [
'karma-spec-reporter',
'karma-mocha',
'karma-chrome-launcher',
'karma-webpack',
],
webpack: webpackConf,
autoWatch: true,
singleRun: false
};
config.set(conf);
};