Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Test should contain 0 repeats... which makes clear how the spec has gaps.
Repeat 0 should return the original.
Repeat 1 should return the original and a repeat. If I repeat something, it's said twice.
OR
Repeat 0 returns empty string, Repeat 1 returns the original string.
{
expected: '',
actual: 'ho '.repeat(0),
msg: ''ho '.repeat(0) should return an empty string'
},
Pick one:
assertEqual(min("1",1), NaN) should probably not fail for this example...