Commit 076a7f18df511e2cff18c3f6967293a193a4a996

Authored by Victor Costa
1 parent 33b085bf

Accept grep parameter when running karma

Example: karma start --grep="Profile Service"
Showing 1 changed file with 4 additions and 0 deletions   Show diff stats
karma.conf.js
... ... @@ -126,6 +126,10 @@ module.exports = function (config) {
126 126 };
127 127  
128 128  
  129 + if(config.grep) {
  130 + configuration.client = { args: ['--grep', config.grep] };
  131 + }
  132 +
129 133 if (coverage) {
130 134  
131 135 /*configuration.webpack = {
... ...