import { TestModule } from "https://deno.land/x/deno_nest@v3.15.1/tests/mod.ts";
Constructors
new
TestModule(data: ModuleMetadata)Properties
app: Application
data: ModuleMetadata
overrideFilterMap: Map<ExceptionFilter | Constructor<ExceptionFilter>, ExceptionFilter | Constructor<ExceptionFilter>> | undefined
overrideInterceptorMap: Map<NestInterceptor | Constructor<NestInterceptor>, NestInterceptor | Constructor<NestInterceptor>> | undefined
rootModule: Constructor
Methods
private
getApp()private
overrideGuardOrInterceptorOrFilter<T>()compile()
overrideFilter(filter: ExceptionFilter | Constructor<ExceptionFilter>, value: ExceptionFilter | Constructor<ExceptionFilter>)
overrideGuard(guard: NestGuard, value: NestGuard)
overrideInterceptor(interceptor: NestInterceptor | Constructor<NestInterceptor>, value: NestInterceptor | Constructor<NestInterceptor>)
overrideModule(module: ModuleType, value: ModuleType)
overrideProvider(provide: Provide, value: any)
resolve(constructor: Constructor, parentClass?: Type<any>)