repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Report more cleanups from work in progress PRs
[poolifier.git]
/
tests
/
test-utils.js
diff --git
a/tests/test-utils.js
b/tests/test-utils.js
index 4668e0720c7ea1c2eb9cca649f17bb7ade4eb826..8565c7504bfe0a642679eafcbb1d62cfc3dc892a 100644
(file)
--- a/
tests/test-utils.js
+++ b/
tests/test-utils.js
@@
-18,7
+18,7
@@
class TestUtils {
}
static async workerSleepFunction (data, ms) {
}
static async workerSleepFunction (data, ms) {
- return new Promise(
(resolve, reject)
=> {
+ return new Promise(
resolve
=> {
setTimeout(() => resolve(data), ms)
})
}
setTimeout(() => resolve(data), ms)
})
}