UNPKG
tsm-starter
Version:
latest (1.1.0)
1.1.0
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
0.2.2
0.2.1
0.2.0
0.1.0
0.0.8
0.0.7
0.0.6
0.0.4
0.0.3
0.0.2
0.0.1
Utility to generate Typescript nodejs modules.
github.com/wspecs/tsm-starter
wspecs/tsm-starter
tsm-starter
/
test
/
util.ts
13 lines
(10 loc)
•
252 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
import
*
as
lib
from
'../lib/utils'
;
import
{ expect }
from
'chai'
;
describe
(
'util file'
,
() =>
{
beforeEach
(
() =>
{
// Add before each test
});
it
(
'can add two numbers'
,
() =>
{
expect
(lib.
add
(
5
,
2
)).
to
.
equal
(
7
); }); });