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.
assert.deepEqual
should be usedNode 12 should be enabled
Random tests?
Good kata.
You should mention in the description that no special regex characters will be included in the
keyword
, otherwise people could go the whole hog and sanitise the keyword as well.You should also explain that any titles that don't have the keyword should be removed. And reword so that it's not impled the same input array should be returned.
Thanks for completing my kata.
You're absolutely right, I forgot the tags on the example test case. This has now been corrected.
The example test case is failing ... seems that you forgot to update it
Expected: 'Dan texted Mark from Alex's phone(202-555-0166)\nDan texted Erin from Alex's phone(202-555-0166)\nDan texted Anthony from Alex's phone(202-555-0166)', instead got: 'Dan texted Mark from Alex's phone(202-555-0166)'
Can't pass this test. Tried my code on jsfiddle and it works!