Browse Source

test(server): Disable logging for e2e tests

Michael Bromley 7 years ago
parent
commit
46003ea7d5
1 changed files with 1 additions and 1 deletions
  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> {
     private async bootstrapForTesting(userConfig: Partial<VendureConfig>): Promise<INestApplication> {
         const config = await preBootstrapConfig(userConfig);
         const config = await preBootstrapConfig(userConfig);
         const appModule = await import('../src/app.module');
         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);
         await app.listen(config.port);
         return app;
         return app;
     }
     }