mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 02:17:50 +00:00
wip: migrate to bun
This commit is contained in:
16
test/gt.spec.ts
Normal file
16
test/gt.spec.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import assert from 'node:assert';
|
||||
import gt from '../src/gt';
|
||||
|
||||
describe('gt', () => {
|
||||
it('should return `true` if `value` > `other`', () => {
|
||||
assert.strictEqual(gt(3, 1), true);
|
||||
assert.strictEqual(gt('def', 'abc'), true);
|
||||
});
|
||||
|
||||
it('should return `false` if `value` is <= `other`', () => {
|
||||
assert.strictEqual(gt(1, 3), false);
|
||||
assert.strictEqual(gt(3, 3), false);
|
||||
assert.strictEqual(gt('abc', 'def'), false);
|
||||
assert.strictEqual(gt('def', 'def'), false);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user