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

16
test/lte.spec.js Normal file
View File

@@ -0,0 +1,16 @@
import lte from '../src/lte';
import lt from '../src/lt';
describe('lte', () => {
it('should return `true` if `value` is <= `other`', () => {
expect(lte(1, 3)).toBe(true);
expect(lte(3, 3)).toBe(true);
expect(lte('abc', 'def')).toBe(true);
expect(lte('def', 'def')).toBe(true);
});
it('should return `false` if `value` > `other`', () => {
expect(lt(3, 1)).toBe(false);
expect(lt('def', 'abc')).toBe(false);
});
});