source: trip-planner-front/node_modules/text-table/test/table.js@ 59329aa

Last change on this file since 59329aa was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 326 bytes
Line 
1var test = require('tape');
2var table = require('../');
3
4test('table', function (t) {
5 t.plan(1);
6 var s = table([
7 [ 'master', '0123456789abcdef' ],
8 [ 'staging', 'fedcba9876543210' ]
9 ]);
10 t.equal(s, [
11 'master 0123456789abcdef',
12 'staging fedcba9876543210'
13 ].join('\n'));
14});
Note: See TracBrowser for help on using the repository browser.