wip: migrate to bun

This commit is contained in:
jdalton
2023-09-16 14:47:50 -07:00
parent 2da024c3b4
commit 97d4a2fe19
1052 changed files with 30244 additions and 26856 deletions

16
test/gt.spec.ts Normal file
View 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);
});
});