From 28b0ddfb0e6d134f4f53c5594320ed52cc98fa44 Mon Sep 17 00:00:00 2001 From: Leah Schumann Date: Wed, 6 Mar 2024 07:36:16 -0500 Subject: [PATCH] Added Test environment to environments which display the log entries in the browser console. --- src/helpers/logger.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/helpers/logger.js b/src/helpers/logger.js index 7e2a3d7c1..0a172fecb 100644 --- a/src/helpers/logger.js +++ b/src/helpers/logger.js @@ -42,7 +42,8 @@ export class Logger { // If running locally or in the Dev environment show the log entries in the console. if ( applicationConfig.CURRENT_ENVIRONMENT === "Localhost" || - applicationConfig.CURRENT_ENVIRONMENT === "Dev" + applicationConfig.CURRENT_ENVIRONMENT === "Dev" || + applicationConfig.CURRENT_ENVIRONMENT === "Test" ) { console.log(logEntry); }