From 4176123865fa2f3df4d6c14ff0825446904b42e2 Mon Sep 17 00:00:00 2001 From: "Patrik J. Braun" Date: Tue, 26 Mar 2024 00:16:29 +0100 Subject: [PATCH] test logging.. --- src/backend/middlewares/RenderingMWs.ts | 3 ++- test/backend/integration/routers/admin/SettingsRouter.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/backend/middlewares/RenderingMWs.ts b/src/backend/middlewares/RenderingMWs.ts index 41b270b8..c8dc469c 100644 --- a/src/backend/middlewares/RenderingMWs.ts +++ b/src/backend/middlewares/RenderingMWs.ts @@ -117,7 +117,8 @@ export class RenderingMWs { skipTags: {secret: true} as TAGS }) as PrivateConfigClass)); - console.log(originalConfJSON); + console.log('renderConfig'); + console.log(JSON.stringify(originalConfJSON,null,4)); const message = new Message( null, originalConfJSON diff --git a/test/backend/integration/routers/admin/SettingsRouter.ts b/test/backend/integration/routers/admin/SettingsRouter.ts index 8519f514..d4a083c4 100644 --- a/test/backend/integration/routers/admin/SettingsRouter.ts +++ b/test/backend/integration/routers/admin/SettingsRouter.ts @@ -48,7 +48,7 @@ describe('SettingsRouter', () => { attachVolatile: true, skipTags: {secret: true} as TAGS }))); - console.log(originalJSON); + console.log(JSON.stringify(originalJSON,null,4)); const result = await chai.request(server.Server) .get(Config.Server.apiPath + '/settings');