8000 Added blank string test to repeatString · codekacode/javascript-exercises@5817ea2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5817ea2

Browse files
committed
Added blank string test to repeatString
1 parent 3758497 commit 5817ea2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

repeatString/repeatString.spec.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,7 @@ describe('repeatString', function() {
2727
was randomaly generated. */
2828
expect(repeatString('hey', number).match(/((hey))/g).length).toEqual(number);
2929
});
30+
xit('works with bla 4559 nk strings', function() {
31+
expect(repeatString('', 10)).toEqual('');
32+
});
3033
});

0 commit comments

Comments
 (0)
0