repositories
/
poolifier.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Documenation and improvements
[poolifier.git]
/
tests
/
util.test.js
1
const
expect
=
require
(
'expect'
)
2
const
{
generateID
} =
require
(
'../lib/util'
)
3
4
describe
(
'Utility Tests '
, () => {
5
it
(
'Generate an id'
, () => {
6
const
res
=
generateID
()
7
expect
(
res
).
toBeTruthy
()
8
expect
(
typeof
res
).
toBe
(
'string'
)
9
})
10
})