UNPKG

@eluvio/elv-js-helpers

Version:

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

15 lines (13 loc) 457 B
// AUTO-GENERATED TEST - DO NOT MODIFY, CHANGES WILL BE OVERWRITTEN DURING BUILD 'use strict' const TH = require('../../../test-helpers') const listPush = TH.requireSrcFile('Functional/listPush') describe('listPush JSDoc example', () => { it('should execute correctly as described', () => { 'use strict' const List = TH.requireSrcFile('ADT/List') listPush(List([1, 2, 3]), 4) .inspect() .should.eql('List [ 1, 2, 3, 4 ]') }) })