HEX
Server: nginx/1.24.0
System: Linux nowruzgan 6.8.0-57-generic #59-Ubuntu SMP PREEMPT_DYNAMIC Sat Mar 15 17:40:59 UTC 2025 x86_64
User: babak (1000)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: /var/dev/nowruzgan/rest/node_modules/flaverr/test/flaverr.omen.test.js
describe('flaverr.omen()', function _wouldBeArrowFnIfDidntNeedToSupportNode6(){

  describe('with `flaverr.omen()`', function _wouldBeArrowFnIfDidntNeedToSupportNode6(){
    it('should return an omen (Error instance)');
    it('should return an omen with `.name === \'Error\'`');
    it('should return `undefined` if process.env.NODE_ENV is set to "production"');
    it('should return an omen if process.env.NODE_ENV is set to "production" BUT process.env.DEBUG is set to anything truthy');
  });

  describe('with `flaverr.omen(caller)`', function _wouldBeArrowFnIfDidntNeedToSupportNode6(){
    it('should return an omen (Error instance)');
    it('should return an omen with `.name === \'Error\'`');
    it('should return an omen with a properly modified stack trace');
    it('should return `undefined` if process.env.NODE_ENV is set to "production"');
    it('should return an omen if process.env.NODE_ENV is set to "production" BUT process.env.DEBUG is set to anything truthy');
  });

});