Skip to content

Instantly share code, notes, and snippets.

@blacksonic blacksonic/karma.conf.js
Last active Apr 3, 2018

Embed
What would you like to do?
All the new things: setting up Webpack 4 with Babel 7 - part 5
module.exports = (config) => {
config.set({
frameworks: ['jasmine'],
files: [
{ pattern: 'src/test.js' }
],
preprocessors: {
'src/test.js': ['webpack']
},
webpack: require('./webpack.config'),
reporters: ['dots'],
browsers: ['ChromeHeadless']
});
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.