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/lt.spec.js Normal file
View File

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