text: describe('@api Table ',function(){
    var chai = require('chai');
    var expect = chai.expect;
    var Table = require('..');
    var colors = require('colors/safe');
  
    it('wordWrap with colored text',function(){
      var table = new Table({style:{border:[],head:[]},wordWrap:true,colWidths:[7,9]});
  
      table.push([colors.red('Hello how are you?'),colors.blue('I am fine thanks!')]);
  
      var expected = [
          '┌───────┬─────────┐'
        , '│ ' + colors.red('Hello') + ' │ ' + colors.blue('I am') + '    │'
        , '│ ' + colors.red('how') + '   │ ' + colors.blue('fine') + '    │'
        , '│ ' + colors.red('are') + '   │ ' + colors.blue('thanks!') + ' │'
        , '│ ' + colors.red('you?') + '  │         │'
        , '└───────┴─────────┘'
      ];
  
      expect(table.toString()).to.equal(expected.join('\n'));
    });
  
    it('allows numbers as `content` property of cells defined using object notation', function() {
      var table = new Table({style:{border:[],head:[]}});
  
      table.push([{content: 12}]);
  
       var expected = [
         '┌────┐'
       , '│ 12 │'
       , '└────┘'
       ];
  
      expect(table.toString()).to.equal(expected.join('\n'));
    });
  
    it('throws if content is not a string or number', function() {
      var table = new Table({style:{border:[],head:[]}});
  
      expect(function() {
        table.push([{content: {a:'b'}}]);
        table.toString();
      }).to.throw();
  
    });
  });
  
  
  /*
  
   var expected = [
     '┌──┬───┬──┬──┐'
   , '│  │   │  │  │'
   , '├──┼───┼──┼──┤'
   , '│  │ … │  │  │'
   , '├──┼───┼──┼──┤'
   , '│  │ … │  │  │'
   , '└──┴───┴──┴──┘'
   ];
  
   */