mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 01:17:50 +00:00
wip: code formatting nits continued
This commit is contained in:
9
test/startCase.spec.js
Normal file
9
test/startCase.spec.js
Normal file
@@ -0,0 +1,9 @@
|
||||
import startCase from '../src/startCase';
|
||||
|
||||
describe('startCase', () => {
|
||||
it('should uppercase only the first character of each word', () => {
|
||||
expect(startCase('--foo-bar--')).toBe('Foo Bar');
|
||||
expect(startCase('fooBar')).toBe('Foo Bar');
|
||||
expect(startCase('__FOO_BAR__')).toBe('FOO BAR');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user