Skip to content

Instantly share code, notes, and snippets.

@ddeveloperr
Last active September 4, 2017 08:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ddeveloperr/33bbd4a02c0f960167b90a8ac07a08ff to your computer and use it in GitHub Desktop.
Save ddeveloperr/33bbd4a02c0f960167b90a8ac07a08ff to your computer and use it in GitHub Desktop.
var webpackConfig = require('./webpack.config.js');
module.exports = function (config) {
config.set({
browsers: ['Chrome'],
singleRun: true,
frameworks: ['mocha'],
files: ['app/tests/**/*.test.jsx'],
preprocessors: {
'app/tests/**/*.test.jsx': ['webpack', 'sourcemap']
},
reporters: ['mocha'],
client: {
mocha: {
timeout: '5000'
}
},
webpack: webpackConfig,
webpackServer: {
noInfo: true
}
});
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment