Interview question of the issue #252 of rendezvous with cassidoo.
Create a loooong teeeext generator that takes in a string and an integer n, and multiplies the vowels in the string by n.
Example:
$ longText('hello world', 3)
$ 'heeellooo wooorld'
$ longText('lol', 10)
$ 'looooooooool'
Just pnpm i
to install all dependencies and then pnpm t
to run the tests!