Skip to content

Commit

Permalink
Merge pull request #394 from jamestalmage/long-stack-traces-in-forks
Browse files Browse the repository at this point in the history
Use long stack traces in forks.
  • Loading branch information
sindresorhus committed Dec 31, 2015
2 parents b04d004 + da6a2f4 commit f8701d5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/test-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ if (debug.enabled) {

// bind globals first before anything has a chance to interfere
var globals = require('./globals');
var Promise = require('bluebird');

// Bluebird specific
Promise.longStackTraces();

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

Expand Down

0 comments on commit f8701d5

Please sign in to comment.