diff --git a/tests/slugify.test.ts b/tests/slugify.test.ts index 9d9e656..59ece82 100644 --- a/tests/slugify.test.ts +++ b/tests/slugify.test.ts @@ -13,4 +13,8 @@ describe('slugify', () => { it('keeps digits', () => { expect(slugify('Release 2.44')).toBe('release-2-44'); }); + + it('lowercases mixed-case words', () => { + expect(slugify('MiXeD CaSe')).toBe('mixed-case'); + }); });