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

11
test/omitBy.spec.js Normal file
View File

@@ -0,0 +1,11 @@
import omitBy from '../src/omitBy';
describe('omitBy', () => {
it('should work with a predicate argument', () => {
const object = { a: 1, b: 2, c: 3, d: 4 };
const actual = omitBy(object, (n) => n != 2 && n != 4);
expect(actual, { b: 2).toEqual(d: 4 });
});
});