mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-31 07:08:40 -04:00
Add config to tests in various places
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
9f170bca4c
commit
ce65f2c51a
4 changed files with 44 additions and 3 deletions
19
src/config/app.config.mock.ts
Normal file
19
src/config/app.config.mock.ts
Normal file
|
@ -0,0 +1,19 @@
|
|||
/*
|
||||
* SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
|
||||
*
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
import { registerAs } from '@nestjs/config';
|
||||
|
||||
export default registerAs('appConfig', () => ({
|
||||
port: 3000,
|
||||
media: {
|
||||
backend: {
|
||||
use: 'filesystem',
|
||||
filesystem: {
|
||||
uploadPath: 'uploads',
|
||||
},
|
||||
},
|
||||
},
|
||||
}));
|
Loading…
Add table
Add a link
Reference in a new issue