@eluvio/elv-js-helpers
Version:
A collection of Javascript helper functions used by several Eluvio libraries.
12 lines (10 loc) • 430 B
JavaScript
// AUTO-GENERATED TEST - DO NOT MODIFY, CHANGES WILL BE OVERWRITTEN DURING BUILD
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')
})
})