UNPKG

@qntm-code/utils

Version:

A collection of useful utility functions with associated TypeScript types. All functions have been unit tested.

7 lines (6 loc) 229 B
import { kebabToPascal } from './kebab-to-pascal'; describe('kebabToPascal', () => { it('should convert a kebab-case string to PascalCase', () => { expect(kebabToPascal('test-string')).toBe('TestString'); }); });