mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 15:57:48 +00:00
11 lines
369 B
TypeScript
11 lines
369 B
TypeScript
import assert from 'node:assert';
|
|
import upperCase from '../src/upperCase';
|
|
|
|
describe('upperCase', () => {
|
|
it('should uppercase as space-separated words', () => {
|
|
assert.strictEqual(upperCase('--foo-bar--'), 'FOO BAR');
|
|
assert.strictEqual(upperCase('fooBar'), 'FOO BAR');
|
|
assert.strictEqual(upperCase('__foo_bar__'), 'FOO BAR');
|
|
});
|
|
});
|