Fixed word formatters
All checks were successful
Build / Build NPM Project (push) Successful in 45s
Build / Tag Version (push) Successful in 8s
Build / Publish Documentation (push) Successful in 35s

This commit is contained in:
2025-06-11 18:41:46 -04:00
parent a08b0c4eea
commit c06538a725
3 changed files with 35 additions and 18 deletions

View File

@ -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('');
});
});