From 1b6029b584cb8fd8157b9d98256aa19f26130df1 Mon Sep 17 00:00:00 2001 From: Denver Coneybeare Date: Wed, 16 Aug 2023 14:04:06 -0400 Subject: [PATCH] Include full output from mocha/karma in CI. This effectively reverts https://github.com/firebase/firebase-js-sdk/pull/2980 but the reduced output in CI is too terse to diagnose Firestore CI issues. --- config/karma.base.js | 6 ------ config/mocharc.node.js | 5 ----- 2 files changed, 11 deletions(-) diff --git a/config/karma.base.js b/config/karma.base.js index 593de711579..9740f844d91 100644 --- a/config/karma.base.js +++ b/config/karma.base.js @@ -87,11 +87,5 @@ const config = { config.mochaReporter = { showDiff: true }; -// Make it easy to spot failed tests in CI -if (process.env.CI) { - config.mochaReporter = { - output: 'minimal' - }; -} module.exports = config; diff --git a/config/mocharc.node.js b/config/mocharc.node.js index 6272a5a9672..e493fce4d52 100644 --- a/config/mocharc.node.js +++ b/config/mocharc.node.js @@ -29,11 +29,6 @@ const config = { exit: true }; -// use min reporter in CI to make it easy to spot failed tests -if (process.env.CI) { - config.reporter = 'min'; -} - // Firestore uses babel to compile tests in Nodejs if (process.env.NO_TS_NODE) { delete config.require;