mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-01-26 17:22:30 +00:00
test: enable validationPipe in TestSetup
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
5eab4f42d6
commit
5b7026758a
1 changed files with 5 additions and 0 deletions
|
@ -263,6 +263,11 @@ export class TestSetupBuilder {
|
|||
this.testSetup.app,
|
||||
this.testSetup.configService.get<AuthConfig>('authConfig'),
|
||||
);
|
||||
this.testSetup.app.useGlobalPipes(
|
||||
setupValidationPipe(
|
||||
await this.testSetup.app.resolve(ConsoleLoggerService),
|
||||
),
|
||||
);
|
||||
|
||||
for (const setupFunction of this.setupPostCompile) {
|
||||
await setupFunction();
|
||||
|
|
Loading…
Reference in a new issue