repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
test: cleanup worker function
[poolifier.git]
/
tests
/
test-utils.js
diff --git
a/tests/test-utils.js
b/tests/test-utils.js
index 6d3592c1b5d2e2798c00b95fe213c1c630370c96..894471697cb42cc408c906021ee28e87147fcfbc 100644
(file)
--- a/
tests/test-utils.js
+++ b/
tests/test-utils.js
@@
-77,9
+77,8
@@
class TestUtils {
static factorial (n) {
if (n === 0) {
return 1
- } else {
- return TestUtils.factorial(n - 1) * n
}
+ return TestUtils.factorial(n - 1) * n
}
static executeWorkerFunction (data) {