UNPKG

@eluvio/elv-js-helpers

Version:

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

15 lines (13 loc) 491 B
// AUTO-GENERATED TEST - DO NOT MODIFY, CHANGES WILL BE OVERWRITTEN DURING BUILD 'use strict' const TH = require('../../../test-helpers') const format = TH.requireSrcFile('Conversion/format') describe('format JSDoc example', () => { it('should execute correctly as described', () => { 'use strict' format(' ').should.eql('" "') format(42).should.eql('42') format(x => x * 2).should.eql('[Function (anonymous)]') format(format).should.eql('[Function: format]') }) })