refactor(table): Add some test cases

This commit is contained in:
Denis Malinochkin
2017-12-07 19:42:38 +03:00
parent c42bfa3a50
commit 19d7c5bc2d
+5 -1
View File
@@ -8,6 +8,10 @@ const data = [
['john', 'doe']
];
const config: table.TableUserConfig = { border };
const config: table.TableUserConfig = {
border,
columnCount: 1,
drawHorizontalLine: () => true
};
table.table(data, config);