mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 02:17:48 +00:00
wip: migrate to bun
This commit is contained in:
10
test/toLower.spec.ts
Normal file
10
test/toLower.spec.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import assert from 'node:assert';
|
||||
import toLower from '../src/toLower';
|
||||
|
||||
describe('toLower', () => {
|
||||
it('should convert whole string to lower case', () => {
|
||||
assert.deepStrictEqual(toLower('--Foo-Bar--'), '--foo-bar--');
|
||||
assert.deepStrictEqual(toLower('fooBar'), 'foobar');
|
||||
assert.deepStrictEqual(toLower('__FOO_BAR__'), '__foo_bar__');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user