From 3351c18d68f2e563a9770f58ee7bfebd596c76ff Mon Sep 17 00:00:00 2001 From: Mariusz Nowak Date: Fri, 28 Aug 2020 12:48:48 +0200 Subject: [PATCH] test: Ensure long stack traces --- tests/mocha-reporter.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/mocha-reporter.js b/tests/mocha-reporter.js index 75fd4ddbd..72e4aabdc 100644 --- a/tests/mocha-reporter.js +++ b/tests/mocha-reporter.js @@ -6,6 +6,12 @@ const { _ensureArtifact } = require('../lib/utils/getEnsureArtifact'); disableServerlessStatsRequests(path.resolve(__dirname, '..')); +const BbPromise = require('bluebird'); + +BbPromise.config({ + longStackTraces: true, +}); + module.exports = require('@serverless/test/setup/mocha-reporter'); module.exports.deferredRunner.then(runner => {