mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 23:57:49 +00:00
11 lines
369 B
TypeScript
11 lines
369 B
TypeScript
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');
|
|
});
|
|
});
|