UNPKG
choo-shortcache
Version:
latest (0.0.0)
0.0.0
choo nanocomponent cache shortcut
choo-shortcache
/
example
/
node_modules
/
brorand
/
test
/
api-test.js
9 lines
(7 loc)
•
202 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
var
brorand =
require
(
'../'
);
var
assert =
require
(
'assert'
);
describe
(
'Brorand'
,
function
(
) {
it
(
'should generate random numbers'
,
function
(
) { assert.
equal
(
brorand
(
100
).
length
,
100
); }); });