UNPKG

@eluvio/elv-js-helpers

Version:

A collection of Javascript helper functions used by several Eluvio libraries.

10 lines (8 loc) 261 B
const TH = require('../../../test-helpers') const omit = TH.requireSrcFile('Functional/omit') describe('omit', () => { it('should work as expected', () => { const myObject = {foo: 'f', bar: 'b'} omit(['foo'], myObject).should.eql({bar: 'b'}) }) })