mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 17:07:49 +00:00
wip: code formatting nits continued
This commit is contained in:
9
test/upperCase.spec.js
Normal file
9
test/upperCase.spec.js
Normal file
@@ -0,0 +1,9 @@
|
||||
import upperCase from '../src/upperCase';
|
||||
|
||||
describe('upperCase', () => {
|
||||
it('should uppercase as space-separated words', () => {
|
||||
expect(upperCase('--foo-bar--')).toBe('FOO BAR');
|
||||
expect(upperCase('fooBar')).toBe('FOO BAR');
|
||||
expect(upperCase('__foo_bar__')).toBe('FOO BAR');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user