Word wrapper TDD kata solved using JavaScript, Karma, Mocha and Chai