Final fixes, all tests running

This commit is contained in:
Angelos Chalaris
2018-06-18 20:41:57 +03:00
parent a3390a6588
commit 3a89fe304a
49 changed files with 2189 additions and 1198 deletions

View File

@@ -8,7 +8,7 @@ test('Capitalizes the first letter of a string', () => {
expect(capitalize('fooBar')).toBe('FooBar');
});
test('Capitalizes the first letter of a string', () => {
expect(capitalize('fooBar', true)).toBe('FooBar');
expect(capitalize('fooBar', true)).toBe('Foobar');
});
test('Works with characters', () => {
expect(capitalize('#!#', true)).toBe('#!#');