Skip to content

Commit

Permalink
Remove Bluebird.longStackTraces() (#1496)
Browse files Browse the repository at this point in the history
  • Loading branch information
anshulwadhawan authored and novemberborn committed Sep 2, 2017
1 parent c9fe8db commit ebf78b3
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions lib/test-worker.js
Expand Up @@ -2,7 +2,6 @@

// Check if the test is being run without AVA cli
{
/* eslint-disable import/order */
const path = require('path');
const chalk = require('chalk');

Expand All @@ -17,21 +16,17 @@
}
}

const currentlyUnhandled = require('currently-unhandled')();
const isObj = require('is-obj');

const adapter = require('./process-adapter');
const globals = require('./globals');

const opts = adapter.opts;
globals.options = opts;

/* eslint-enable import/order */
const Bluebird = require('bluebird');
const currentlyUnhandled = require('currently-unhandled')();
const isObj = require('is-obj');
const serializeError = require('./serialize-error');

// Bluebird specific
Bluebird.longStackTraces();

(opts.require || []).forEach(require);

adapter.installSourceMapSupport();
Expand Down

0 comments on commit ebf78b3

Please sign in to comment.