Browse Source

Merge pull request #394 from jamestalmage/long-stack-traces-in-forks

Use long stack traces in forks.
babel-plugin-for-integration-tests
Sindre Sorhus 9 years ago
parent
commit
f8701d5a88
  1. 4
      lib/test-worker.js

4
lib/test-worker.js

@ -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);

Loading…
Cancel
Save