UNPKG
create-oclif
Version:
latest (1.17.0)
1.17.0
1.14.2
1.14.1
1.13.6
1.13.5
1.13.4
1.13.3
1.13.2
1.13.1
1.13.0
1.12.10
1.12.9
1.12.8
1.12.7
1.12.6
1.12.5
1.12.4
1.12.3
1.12.2
1.12.1
1.12.0
1.11.7
1.11.6
1.11.5
1.11.4
1.11.3
1.11.2
1.11.1
1.11.0
1.10.3
1.10.2
1.10.1
1.10.0
1.9.0
1.8.6
1.8.5
1.8.4
1.8.3
1.8.2
1.8.1
1.8.0
1.7.56
1.7.55
1.7.54
1.7.53
1.7.52
1.7.51
1.7.50
1.7.49
1.7.48
1.7.47
1.7.46
1.7.45
1.7.44
1.7.43
1.7.42
1.7.41
1.7.40
1.7.39
1.7.38
1.7.37
1.7.36
1.7.35
1.7.34
1.7.33
1.7.32
1.7.31
1.7.30
1.7.29
1.7.28
1.7.27
1.7.26
1.7.25
1.7.24
1.7.23
1.7.22
1.7.21
1.7.20
1.7.19
1.7.18
1.7.17
1.7.16
1.7.15
1.7.14
1.7.13
1.7.12
1.7.11
1.7.10
1.7.9
1.7.5
oclif: create your own CLI
github.com/oclif/oclif
oclif/oclif
create-oclif
/
templates
/
base
/
test
/
index.test.js
9 lines
(7 loc)
•
154 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
const
{expect} =
require
(
'chai'
)
const
{add} =
require
(
'../src'
)
describe
(
'add'
,
() =>
{
it
(
'1+2=3'
,
() =>
{
expect
(
add
(
1
,
2
)).
to
.
equal
(
3
) }) })