Explorar o código

test(server): Disable logging for e2e tests

Michael Bromley %!s(int64=7) %!d(string=hai) anos
pai
achega
46003ea7d5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      server/e2e/test-server.ts

+ 1 - 1
server/e2e/test-server.ts

@@ -74,7 +74,7 @@ export class TestServer {
     private async bootstrapForTesting(userConfig: Partial<VendureConfig>): Promise<INestApplication> {
         const config = await preBootstrapConfig(userConfig);
         const appModule = await import('../src/app.module');
-        const app = await NestFactory.create(appModule.AppModule, { cors: config.cors });
+        const app = await NestFactory.create(appModule.AppModule, { cors: config.cors, logger: false });
         await app.listen(config.port);
         return app;
     }