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