Sfoglia il codice sorgente

feat(testing): Expose underlying NestApplication & NestMicroservice

Michael Bromley 5 anni fa
parent
commit
ebf78a2e6a
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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>) {}