mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 16:47:49 +00:00
wip: migrate to bun
This commit is contained in:
10
test/upperFirst.spec.ts
Normal file
10
test/upperFirst.spec.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import assert from 'node:assert';
|
||||
import upperFirst from '../src/upperFirst';
|
||||
|
||||
describe('upperFirst', () => {
|
||||
it('should uppercase only the first character', () => {
|
||||
assert.strictEqual(upperFirst('fred'), 'Fred');
|
||||
assert.strictEqual(upperFirst('Fred'), 'Fred');
|
||||
assert.strictEqual(upperFirst('FRED'), 'FRED');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user