repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove usage of module.exports (#84)
[poolifier.git]
/
tests
/
dynamic.test.js
diff --git
a/tests/dynamic.test.js
b/tests/dynamic.test.js
index 67f5504100841f2a998a4c8f7927324980b62fbf..5b16a361c173a726c5479c4a2da3565882fd53cf 100644
(file)
--- a/
tests/dynamic.test.js
+++ b/
tests/dynamic.test.js
@@
-1,5
+1,5
@@
const expect = require('expect')
const expect = require('expect')
-const
DynamicThreadPool
= require('../lib/dynamic')
+const
{ DynamicThreadPool }
= require('../lib/dynamic')
const min = 1
const max = 3
const pool = new DynamicThreadPool(min, max, './tests/workers/testWorker.js', {
const min = 1
const max = 3
const pool = new DynamicThreadPool(min, max, './tests/workers/testWorker.js', {