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