repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build: avoid npx prompt at pnpm i
[poolifier.git]
/
tests
/
worker
/
cluster-worker.test.js
diff --git
a/tests/worker/cluster-worker.test.js
b/tests/worker/cluster-worker.test.js
index 847c7e113713ceffe1f64769c69edd1b20819079..f026862d033838c837523f4547e7b1cb078fde2e 100644
(file)
--- a/
tests/worker/cluster-worker.test.js
+++ b/
tests/worker/cluster-worker.test.js
@@
-7,9
+7,9
@@
describe('Cluster worker test suite', () => {
expect(worker.opts.maxInactiveTime).toStrictEqual(60000)
})
expect(worker.opts.maxInactiveTime).toStrictEqual(60000)
})
- it('Verify that handleError
function
works properly', () => {
+ it('Verify that handleError
() method
works properly', () => {
const errorMessage = 'Error as a string'
const worker = new ClusterWorker(() => {})
const errorMessage = 'Error as a string'
const worker = new ClusterWorker(() => {})
- expect(worker.handleError(errorMessage)).to
Be
(errorMessage)
+ expect(worker.handleError(errorMessage)).to
StrictEqual
(errorMessage)
})
})
})
})