Skip to content

Commit

Permalink
Correct mocha colors patch (mochajs/mocha#1200)
Browse files Browse the repository at this point in the history
  • Loading branch information
nylen committed Apr 8, 2015
1 parent 1c29196 commit 0ee5e51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _actions/mocha-env-node.diff
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
+// https://github.com/mochajs/mocha/issues/1200#issuecomment-62780003
+var colors = require('../lib/reporters/base').colors;
+colors['diff added'] = '32;40';
+colors['diff removed'] = '32;40';
+colors['diff removed'] = '31;40';
+
/**
* Module dependencies.
Expand Down
2 changes: 1 addition & 1 deletion _actions/mocha.diff
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
+// https://github.com/mochajs/mocha/issues/1200#issuecomment-62780003
+var colors = require('../lib/reporters/base').colors;
+colors['diff added'] = '32;40';
+colors['diff removed'] = '32;40';
+colors['diff removed'] = '31;40';
+
/**
* Module dependencies.
Expand Down

0 comments on commit 0ee5e51

Please sign in to comment.