UNPKG

@eluvio/elv-js-helpers

Version:

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

12 lines (10 loc) 430 B
// AUTO-GENERATED TEST - DO NOT MODIFY, CHANGES WILL BE OVERWRITTEN DURING BUILD 'use strict' const TH = require('../../../test-helpers') const throwError = TH.requireSrcFile('Misc/throwError') describe('throwError JSDoc example', () => { it('should execute correctly as described', () => { 'use strict' TH.expect(() => throwError('clear and helpful error message')).to.throw('clear and helpful error message') }) })