Remove lodash omit

(re: #6087)
This commit is contained in:
Bryan Housel
2019-03-26 14:11:55 -04:00
parent e916d18473
commit 4821bf0a68
10 changed files with 41 additions and 26 deletions
+9
View File
@@ -0,0 +1,9 @@
describe('iD.utilObjectOmit', function() {
it('omits keys', function() {
var t = { a: 1, b: 2 };
expect(iD.utilObjectOmit(t, [])).to.eql({ a: 1, b: 2 });
expect(iD.utilObjectOmit(t, ['a'])).to.eql({ b: 2 });
expect(iD.utilObjectOmit(t, ['a', 'b'])).to.eql({});
});
});