UNPKG
nau
Version:
latest (1.0.0)
1.0.0
Get the current timestamp as an integer
github.com/vikramcse/nau
vikramcse/nau
nau
/
test.js
8 lines
(7 loc)
•
266 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
var
expect =
require
(
'chai'
).
expect
;
var
nau =
require
(
'./index.js'
);
describe
(
'Tests for getting current time in integer'
,
function
(
) {
it
(
'should return current time in integer'
,
function
(
) {
expect
(
typeof
nau
()).
to
.
be
.
equal
(
'number'
); }); });