1 parent
a3d062eec5
commit
13e43b8747
2 files changed
+7
-1
No files matched your search
@@ -36,6 +36,12 @@ describe('prettifyTitle', () => {
|
||||
it('should prettify words', () => {
|
||||
expect(prettifyTitle('this is_a string')).toBe('This Is A String');
|
||||
});
|
||||
it('should handle leading spaces', () => {
|
||||
expect(prettifyTitle(' this is_a string')).toBe('This Is A String');
|
||||
});
|
||||
it('should handle empty string', () => {
|
||||
expect(prettifyTitle('')).toBeUndefined();
|
||||
});
|
||||
});
|
||||
|
||||
describe('arrayMove', () => {
|
||||
|
||||
Reference in new issue
Block a user