1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2025-05-02 12:27:08 +01:00
This commit is contained in:
hacksalot
2016-01-26 10:58:10 -05:00
parent 630cf59cfb
commit 80c36b96bc
12 changed files with 396 additions and 499 deletions

View File

@ -12,6 +12,7 @@ var chai = require('chai')
, FS = require('fs')
, PATH = require('path')
, PKG = require('../package.json')
, STRIPCOLOR = require('stripcolorcodes')
, _ = require('underscore');
@ -27,7 +28,8 @@ describe('Testing Ouput interface', function () {
// TODO: use sinon
// Replacement for console.log
function MyConsoleLog( msg ) {
gather += Array.prototype.slice.call(arguments).join(' ');
var tx = Array.prototype.slice.call(arguments).join(' ');
gather += STRIPCOLOR( tx );
ConsoleLogOrg.apply(this, arguments);
}