repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix random integer generator
[poolifier.git]
/
tests
/
worker-files
/
thread
/
errorWorker.js
diff --git
a/tests/worker-files/thread/errorWorker.js
b/tests/worker-files/thread/errorWorker.js
index 841af907f1b2f6c290282c91adfc6afec5ae4ed4..c33dc1f0eb5e7c454a8ae355fe0c997761c32c56 100644
(file)
--- a/
tests/worker-files/thread/errorWorker.js
+++ b/
tests/worker-files/thread/errorWorker.js
@@
-1,7
+1,7
@@
'use strict'
const { ThreadWorker, KillBehaviors } = require('../../../lib/index')
-function error (
data
) {
+function error () {
throw new Error('Error Message from ThreadWorker')
}