mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 01:57:50 +00:00
wip: migrate to bun
This commit is contained in:
10
test/lowerCase.spec.ts
Normal file
10
test/lowerCase.spec.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import assert from 'node:assert';
|
||||
import lowerCase from '../src/lowerCase';
|
||||
|
||||
describe('lowerCase', () => {
|
||||
it('should lowercase as space-separated words', () => {
|
||||
assert.strictEqual(lowerCase('--Foo-Bar--'), 'foo bar');
|
||||
assert.strictEqual(lowerCase('fooBar'), 'foo bar');
|
||||
assert.strictEqual(lowerCase('__FOO_BAR__'), 'foo bar');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user