This repository has been archived on 2025-09-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
resolver/karma.conf.js

28 lines
580 B
JavaScript

var webpackConfig = require('./webpack.config.js');
module.exports = function (config) {
config.set({
browsers: ['Chrome'],
browserNoActivityTimeout: 100000,
singleRun: true,
frameworks: ['mocha'],
files: [
'node_modules/jquery/dist/jquery.min.js',
'app/tests/**/*.test.jsx'
],
preprocessors: {
'app/tests/**/*.test.jsx': ['webpack', 'sourcemap']
},
reporters: ['mocha'],
client: {
mocha: {
timeout: '5000'
}
},
webpack: webpackConfig,
webpackServer: {
noInfo: true
}
});
};