UNPKG
stats
Version:
latest (1.0.0)
1.0.0
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
JavaScript statistics (LOC, SLOC, etc)
stats
/
test
/
test.comments.js
12 lines
(8 loc)
•
228 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
/** * Module dependencies. */
var
stats =
require
(
'../'
) , common =
require
(
'./common'
);
var
stats = stats.
parse
(
fixture
(
'comments.js'
)); stats.should.have.
property
(
'statements'
,
0
); stats.should.have.
property
(
'loc'
,
8
);