repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added prettier standard to support prettier and use it in combination with standard
[poolifier.git]
/
tests
/
workers
/
testWorker.js
diff --git
a/tests/workers/testWorker.js
b/tests/workers/testWorker.js
index 5d66f62e66c65c18ab0ffe6251869f0a71decf92..5c436a14ab1ae811006f83555b89146e33e03e16 100644
(file)
--- a/
tests/workers/testWorker.js
+++ b/
tests/workers/testWorker.js
@@
-12,10
+12,4
@@
function test (data) {
return isMainThread
}
-class MyWorker extends ThreadWorker {
- constructor () {
- super(test, { maxInactiveTime: 500 })
- }
-}
-
-module.exports = new MyWorker()
+module.exports = new ThreadWorker(test, { maxInactiveTime: 500 })