flaverr
Version:
Flavor an Error instance with the specified error code string or dictionary of customizations.
19 lines (14 loc) • 623 B
JavaScript
describe('flaverr.buildOmen()', function _wouldBeArrowFnIfDidntNeedToSupportNode6(){
describe('with `flaverr.buildOmen()`', function _wouldBeArrowFnIfDidntNeedToSupportNode6(){
it('should work');
it('should have `.name === \'Error\'`');
});
describe('with `flaverr.buildOmen(caller)`', function _wouldBeArrowFnIfDidntNeedToSupportNode6(){
it('should work');
it('should have `.name === \'Error\'`');
it('should properly modify stack trace');
});
describe('resulting omen', function _wouldBeArrowFnIfDidntNeedToSupportNode6(){
it('should have properly formatted stack trace');
});
});