Comment cleanup
[poolifier.git] / tests / test-utils.js
index 4668e0720c7ea1c2eb9cca649f17bb7ade4eb826..a34cd78886584cdad6866bbb7ac470dba7eb1622 100644 (file)
@@ -18,7 +18,7 @@ class TestUtils {
   }
 
   static async workerSleepFunction (data, ms) {
-    return new Promise((resolve, reject) => {
+    return new Promise(resolve => {
       setTimeout(() => resolve(data), ms)
     })
   }
@@ -35,7 +35,7 @@ class TestUtils {
   /**
    * Intentionally inefficient implementation.
    *
-   * @param {*} n
+   * @param {number} n
    * @returns {number}
    */
   static fibonacci (n) {
@@ -46,7 +46,7 @@ class TestUtils {
   /**
    * Intentionally inefficient implementation.
    *
-   * @param {*} n
+   * @param {number} n
    * @returns {number}
    */
   static factorial (n) {