UNPKG

@eluvio/elv-js-helpers

Version:

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

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