Skip to content

Commit

Permalink
fix: Set client default args.
Browse files Browse the repository at this point in the history
Fixes #79
  • Loading branch information
dignifiedquire committed Mar 14, 2014
1 parent b891456 commit 168f7b7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tasks/grunt-karma.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ module.exports = function(grunt) {
}
options.client.args = args;

// Merge karma default options
options.client = _.defaults(options.client, {
args: [],
useIframe: true,
captureConsole: true
});

var data = this.data;
// Merge options onto data, with data taking precedence.
data = _.merge(options, data);
Expand Down

0 comments on commit 168f7b7

Please sign in to comment.