From 663b5bff95ba3a7678688026d3a7935b1f373c74 Mon Sep 17 00:00:00 2001 From: "Patrik J. Braun" Date: Tue, 26 Mar 2024 00:30:15 +0100 Subject: [PATCH] remove debug logging --- src/backend/middlewares/RenderingMWs.ts | 2 -- test/backend/integration/routers/admin/SettingsRouter.ts | 5 ++--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/backend/middlewares/RenderingMWs.ts b/src/backend/middlewares/RenderingMWs.ts index c8dc469c..f4022dab 100644 --- a/src/backend/middlewares/RenderingMWs.ts +++ b/src/backend/middlewares/RenderingMWs.ts @@ -117,8 +117,6 @@ export class RenderingMWs { skipTags: {secret: true} as TAGS }) as PrivateConfigClass)); - 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 c5900ef2..39885331 100644 --- a/test/backend/integration/routers/admin/SettingsRouter.ts +++ b/test/backend/integration/routers/admin/SettingsRouter.ts @@ -48,8 +48,7 @@ describe('SettingsRouter', () => { attachVolatile: true, skipTags: {secret: true} as TAGS }))); - console.log(JSON.stringify(originalJSON,null,4)); -/* + const result = await chai.request(server.Server) .get(Config.Server.apiPath + '/settings'); @@ -57,7 +56,7 @@ describe('SettingsRouter', () => { result.body.should.be.a('object'); should.equal(result.body.error, null); (result.body.result as ServerConfig).Environment.upTime = null; - result.body.result.should.deep.equal(originalJSON);*/ + result.body.result.should.deep.equal(originalJSON); }); }); });