Fixed word formatters
This commit is contained in:
@ -59,7 +59,8 @@ describe('String Utilities', () => {
|
||||
|
||||
describe('kebabCase', () => {
|
||||
it('converts to kebab-case', () => {
|
||||
expect(kebabCase('HelloWorldTest')).toContain('-hello');
|
||||
expect(kebabCase('hello world')).toBe('hello-world');
|
||||
expect(kebabCase('HelloWorld')).toContain('hello-world');
|
||||
expect(kebabCase('')).toBe('');
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user