repositories
/
poolifier.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
README.md: Small refinements
[poolifier.git]
/
tests
/
worker
/
abstract-worker.test.js
1
const
expect
=
require
(
'expect'
)
2
const
{
ThreadWorker
} =
require
(
'../../lib'
)
3
4
describe
(
'Abstract worker test suite'
, () => {
5
it
(
'Verify that fn function is mandatory'
, () => {
6
expect
(() => {
7
const
worker
=
new
ThreadWorker
()
8
}).
toThrowError
()
9
})
10
})