mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 17:37:50 +00:00
wip: code formatting nits continued
This commit is contained in:
15
test/lt.spec.js
Normal file
15
test/lt.spec.js
Normal file
@@ -0,0 +1,15 @@
|
||||
import lt from '../src/lt';
|
||||
|
||||
describe('lt', () => {
|
||||
it('should return `true` if `value` is less than `other`', () => {
|
||||
expect(lt(1, 3)).toBe(true);
|
||||
expect(lt('abc', 'def')).toBe(true);
|
||||
});
|
||||
|
||||
it('should return `false` if `value` >= `other`', () => {
|
||||
expect(lt(3, 1)).toBe(false);
|
||||
expect(lt(3, 3)).toBe(false);
|
||||
expect(lt('def', 'abc')).toBe(false);
|
||||
expect(lt('def', 'def')).toBe(false);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user