Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno_nest/tests/test.module.ts>TestModule

Refer to nestjs to realize some common functions for Deno, support hono and oak
Go to Latest
class TestModule
import { TestModule } from "https://deno.land/x/deno_nest@v3.6.2/tests/test.module.ts";

Constructors

new
TestModule(data: ModuleMetadata)

Properties

factoryCaches: Map
overrideGuardMap: Map<NestGuard, NestGuard> | undefined
rootModule: Constructor

Methods

private
getApp()
private
overrideGuardOrInterceptorOrFilter<T>(
filter: T | Constructor<T>,
value: T | Constructor<T>,
key: symbol,
)
get<T extends Instance>(constructor: Type<T>, parentClass?: Type<any>): Promise<T | null>
overrideProvider(provide: Provide, value: any)
resolve(constructor: Constructor, parentClass?: Type<any>)