mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 01:57:50 +00:00
wip: code formatting nits continued
This commit is contained in:
9
test/capitalize.spec.js
Normal file
9
test/capitalize.spec.js
Normal file
@@ -0,0 +1,9 @@
|
||||
import capitalize from '../src/capitalize';
|
||||
|
||||
describe('capitalize', () => {
|
||||
it('should capitalize the first character of a string', () => {
|
||||
expect(capitalize('fred')).toBe('Fred');
|
||||
expect(capitalize('Fred')).toBe('Fred');
|
||||
expect(capitalize(' fred')).toBe(' fred');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user