Skip to content

Commit ebf78b3

Browse files
anshulwadhawannovemberborn
authored andcommitted
Remove Bluebird.longStackTraces() (#1496)
1 parent c9fe8db commit ebf78b3

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

lib/test-worker.js

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

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

@@ -17,21 +16,17 @@
1716
}
1817
}
1918

19+
const currentlyUnhandled = require('currently-unhandled')();
20+
const isObj = require('is-obj');
21+
2022
const adapter = require('./process-adapter');
2123
const globals = require('./globals');
2224

2325
const opts = adapter.opts;
2426
globals.options = opts;
2527

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

32-
// Bluebird specific
33-
Bluebird.longStackTraces();
34-
3530
(opts.require || []).forEach(require);
3631

3732
adapter.installSourceMapSupport();

0 commit comments

Comments
 (0)