wip: code formatting nits continued

This commit is contained in:
jdalton
2023-09-16 22:59:56 -07:00
parent 0b28b7f7b6
commit b5c59317ea
421 changed files with 7354 additions and 9005 deletions

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