repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build(deps): bump poolifier
[poolifier.git]
/
tests
/
pools
/
cluster
/
fixed.test.mjs
diff --git
a/tests/pools/cluster/fixed.test.mjs
b/tests/pools/cluster/fixed.test.mjs
index 7d829f32858e548e30d0325266adc0bdf637b13e..426a64f00d29e051985c93371f34c9fe0ea4c86e 100644
(file)
--- a/
tests/pools/cluster/fixed.test.mjs
+++ b/
tests/pools/cluster/fixed.test.mjs
@@
-318,10
+318,10
@@
describe('Fixed cluster pool test suite', () => {
await pool.destroy()
})
await pool.destroy()
})
- it('Verify that a pool with zero worker fails',
async
() => {
+ it('Verify that a pool with zero worker fails', () => {
expect(
() =>
new FixedClusterPool(0, './tests/worker-files/cluster/testWorker.js')
expect(
() =>
new FixedClusterPool(0, './tests/worker-files/cluster/testWorker.js')
- ).toThrow
Error
('Cannot instantiate a fixed pool with zero worker')
+ ).toThrow('Cannot instantiate a fixed pool with zero worker')
})
})
})
})