UNPKG
generator-ptz
Version:
latest (1.3.25)
1.3.25
1.3.24
1.3.23
1.3.22
1.3.21
1.3.20
1.3.19
1.3.18
1.3.17
1.3.16
1.3.15
1.3.14
1.3.13
1.3.12
1.3.11
1.3.10
1.3.9
1.3.8
1.3.7
1.3.6
1.3.5
1.3.4
1.3.3
1.3.2
1.3.1
1.3.0
1.2.12
1.2.11
1.2.10
1.2.9
1.2.8
1.2.7
1.2.6
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.2
1.1.1
1.1.0
1.0.1
1.0.0
Yeoman base generator to create polutz modules.
github.com/polutz/generator-ptz
polutz/generator-ptz
generator-ptz
/
generators
/
app
/
templates
/
src
/
_index.test.ts
12 lines
(10 loc)
•
261 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
import
{ equal }
from
'ptz-assert'
;
import
{ addTest }
from
'./index'
;
describe
(
'<%= appname %>'
,
() =>
{
describe
(
'addTest'
,
() =>
{
it
(
'2 + 3 = 5'
,
() =>
{
const
sum =
addTest
(
2
,
3
);
equal
(sum,
5
); }); }); });