Function createTestingApp

  • Creates a new App instance, but with kernel services in place that work in memory. For example RPC/Broker/HTTP communication without TCP stack. Logger uses MemoryLogger.

    Type Parameters

    • O extends RootModuleDefinition


    • options: O
    • entities: ClassType<any>[] = []
    • Optional setup: ((module: AppModule<any, any>) => void)
        • (module: AppModule<any, any>): void
        • Parameters

          • module: AppModule<any, any>

          Returns void

    Returns TestingFacade<App<O>>

Generated using TypeDoc