mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-29 06:27:49 +00:00
10 lines
314 B
JavaScript
10 lines
314 B
JavaScript
import toUpper from '../src/toUpper';
|
|
|
|
describe('toUpper', () => {
|
|
it('should convert whole string to upper case', () => {
|
|
expect(toUpper('--Foo-Bar')).toEqual('--FOO-BAR');
|
|
expect(toUpper('fooBar')).toEqual('FOOBAR');
|
|
expect(toUpper('__FOO_BAR__')).toEqual('__FOO_BAR__');
|
|
});
|
|
});
|