Ad
  • Default User Avatar

    It looks to be broke. No matter what your method returns, it's just returning: Test didn't pass: Unknown error

    I have tried the function in plunker though and it appears to be working fine.

  • Default User Avatar

    I think there is a problem with test cases written for this Kata. When second parameter "n" value is passed as 0, it should not expect an array with 1 value. I think the response array length should always match this parameter value and in case of 0, it should be an empty array. I had to write code for this special condition, which does not make any sense.