@eluvio/elv-js-helpers
Version:
A collection of Javascript helper functions used by several Eluvio libraries.
13 lines (11 loc) • 400 B
JavaScript
// AUTO-GENERATED TEST - DO NOT MODIFY, CHANGES WILL BE OVERWRITTEN DURING BUILD
const TH = require('../../../test-helpers')
const omit = TH.requireSrcFile('Functional/omit')
describe('omit JSDoc example', () => {
it('should execute correctly as described', () => {
'use strict'
const myObject = {foo: 'f', bar: 'b'}
omit(['foo'], myObject).should.eql({bar: 'b'})
})
})