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