From 19318ae518c3e47ab15fe812d50706030004e09d Mon Sep 17 00:00:00 2001 From: Philip Molares Date: Tue, 2 Mar 2021 10:49:39 +0100 Subject: [PATCH] Config: Extend AppConfig mock This is now more in line what you would get from the regular config code Signed-off-by: Philip Molares --- src/config/mock/app.config.mock.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/config/mock/app.config.mock.ts b/src/config/mock/app.config.mock.ts index 6e23d5dfb..2d270990a 100644 --- a/src/config/mock/app.config.mock.ts +++ b/src/config/mock/app.config.mock.ts @@ -5,8 +5,13 @@ */ import { registerAs } from '@nestjs/config'; +import { LogLevel } from 'ts-loader/dist/logger'; export default registerAs('appConfig', () => ({ + domain: 'md.example.com', + rendererOrigin: 'md-renderer.example.com', port: 3000, + loglevel: LogLevel.ERROR, + maxDocumentLength: 100000, forbiddenNoteIds: ['forbiddenNoteId'], }));