Ad
  • Custom User Avatar

    How do you test async code with this?

  • Custom User Avatar

    It becomes draft and will disappear from the kata list when you unpublish it.
    You can still share the link and everyone can access to it using it.
    Can still test with the complete tests but not able to submit the final answer. (AFAIK)

  • Custom User Avatar

    (1) Why would you want that? Everybody likes a challenge! :]
    (2) Unpublish it. Anybody with the link can still access it, but it won't show up for everybody.

  • Custom User Avatar

    What I meant is, I created it primarily as a small challenge for my colleagues, it was not my intention for this to be used publicly. Maybe if it waas only accessible by a link or smth.. It doesn't matter too much I guess

  • Custom User Avatar

    You can simply un-publish it, and re-publish when everything is done.

  • Custom User Avatar

    My bad, forgot to add test cases to example cases. Is there a way to make a kata private though?

  • Custom User Avatar
    • In Sample Tests. assert.typeOf(SimplePromise, 'function') is not correct and gives no useful infomation for coding
    • Solutions like this should not pass the tests
  • Custom User Avatar

    It just creates a copy of an array, so that actual argument is not mutated. n could be ommited here, without change, making this less confusing.