Config: Extend AppConfig mock

This is now more in line what you would get from the regular config code

Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
Philip Molares 2021-03-02 10:49:39 +01:00
parent 381718f0eb
commit 19318ae518

View file

@ -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'],
}));