Add eslint report to sonar
[poolifier.git] / tests / test-utils.js
index e63e14f2987748d61030ad964588df864958f3a6..4dace47e4f1412106c4f954659d2721c06875a1e 100644 (file)
@@ -46,8 +46,8 @@ class TestUtils {
   /**
    * Intentionally inefficient implementation.
    *
-   * @param {number} n
-   * @returns {number}
+   * @param {number} n - The number of fibonacci numbers to generate.
+   * @returns {number} - The nth fibonacci number.
    */
   static fibonacci (n) {
     if (n <= 1) return 1
@@ -57,8 +57,8 @@ class TestUtils {
   /**
    * Intentionally inefficient implementation.
    *
-   * @param {number} n
-   * @returns {number}
+   * @param {number} n - The number to calculate the factorial of.
+   * @returns {number} - The factorial of n.
    */
   static factorial (n) {
     if (n === 0) {