mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 01:47:48 +00:00
wip: migrate to bun
This commit is contained in:
10
test/upperCase.spec.ts
Normal file
10
test/upperCase.spec.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
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');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user