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