Exemple #1
0
    it('ylog.brush', function() {
      ylog.brush('ab', 'red.green').should.eql(chalk.red.green('ab'));
      (function() {ylog.brush('ab', 'red.xgreen')}).should.throw();
      ylog.brush('ab', '').should.eql('ab');

    });