Skip to content

Instantly share code, notes, and snippets.

@KidkArolis
Last active October 10, 2015 20:59
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 KidkArolis/d233ca51d75ddce85e6d to your computer and use it in GitHub Desktop.
Save KidkArolis/d233ca51d75ddce85e6d to your computer and use it in GitHub Desktop.
var grep = require('karma-webpack-grep')
var webpackConfig = require('./webpack.config')
module.exports = function (config) {
webpackConfig.plugins = (webpackConfig.plugins || []).concat(grep({
grep: config.grep,
basePath: '.',
testContext: './tests'
}))
config.set({
// ...
})
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment