UNPKG
machinider
Version:
latest (1.0.1)
1.0.1
1.0.0
Generate machine identifier
github.com/borisceranic/machinider
borisceranic/machinider
machinider
/
test
/
test.js
11 lines
(9 loc)
•
280 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
const
machineId =
require
(
'../index.js'
)
describe
(
'machineId'
,
function
(
) {
it
(
'should be an integer'
,
function
(
) {
machineId
().
should
.
be
.
type
(
'number'
); });
it
(
'should be a non-zero value'
,
function
(
) {
machineId
().
should
.
be
.
above
(
0
); }); });