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