UNPKG
@sap/generator-cap-project
Version:
latest (2.1.3)
2.1.3
2.1.2
2.0.6
2.0.5
2.0.3
2.0.2
1.8.3
1.8.2
1.8.1
1.7.13
1.7.12
1.7.11
1.7.9
1.7.8
1.7.7
1.7.6
1.7.4
1.7.3
1.7.2
1.7.1
1.7.0
1.6.9
1.6.8
1.6.6
1.6.4
1.6.0
1.5.4
1.5.2
1.4.2
1.4.1
1.4.0
1.3.0
1.2.0
1.1.3
1.0.7
1.0.6
1.0.5
Creates a new SAP Cloud Application Programming Model project.
cap.cloud.sap
@sap/generator-cap-project
/
node_modules
/
text-table
/
test
/
table.js
15 lines
(13 loc)
•
326 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
var
test =
require
(
'tape'
);
var
table =
require
(
'../'
);
test
(
'table'
,
function
(
t
) { t.
plan
(
1
);
var
s =
table
([ [
'master'
,
'0123456789abcdef'
], [
'staging'
,
'fedcba9876543210'
] ]); t.
equal
(s, [
'master 0123456789abcdef'
,
'staging fedcba9876543210'
].
join
(
'\n'
)); });