repositories
/
poolifier.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15d5631
)
Convert function to arrow function in UT
author
Jérôme Benoit
<jerome.benoit@sap.com>
Sat, 8 Oct 2022 13:05:05 +0000
(15:05 +0200)
committer
Jérôme Benoit
<jerome.benoit@sap.com>
Sat, 8 Oct 2022 13:05:05 +0000
(15:05 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
tests/test-utils.js
patch
|
blob
|
blame
|
history
diff --git
a/tests/test-utils.js
b/tests/test-utils.js
index ab57685eb58fc000099fe4beec1287c01fcff14a..e63e14f2987748d61030ad964588df864958f3a6 100644
(file)
--- a/
tests/test-utils.js
+++ b/
tests/test-utils.js
@@
-1,7
+1,7
@@
class TestUtils {
static async waitExits (pool, numberOfExitEventsToWait) {
let exitEvents = 0
- return new Promise(
function (resolve, reject)
{
+ return new Promise(
resolve =>
{
pool.workers.forEach(w => {
w.on('exit', () => {
exitEvents++