Przeglądaj źródła

feat(testing): Expose underlying NestApplication & NestMicroservice

Michael Bromley 5 lat temu
rodzic
commit
ebf78a2e6a
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      packages/testing/src/test-server.ts

+ 2 - 2
packages/testing/src/test-server.ts

@@ -15,8 +15,8 @@ import { TestServerOptions } from './types';
  * @docsCategory testing
  */
 export class TestServer {
-    private app: INestApplication;
-    private worker?: INestMicroservice;
+    public app: INestApplication;
+    public worker?: INestMicroservice;
 
     constructor(private vendureConfig: Required<VendureConfig>) {}