# invoke Function
Module | import { invoke } from "@tsed/testing" |
---|---|
Source | /packages/testing/src/invoke.ts |
# Overview
function invoke(target: Type<any>, providers: {
provide: any | symbol;
use: any;
}[]): any;
# Description
Invoke a service with some parameters
# Members
provide: any | symbol;
use: any;
- Session & cookies
- Passport.js
- TypeORM
- Mongoose
- GraphQL
- Socket.io
- Swagger
- AJV
- Multer
- Serve static files
- Templating
- Throw HTTP Exceptions
- Customize 404
- AWS
- Jest
- Seq
- Controllers
- Providers
- Model
- Converters
- Middlewares
- Pipes
- Interceptors
- Authentication
- Hooks
- Injection scopes
- Custom providers
- Custom endpoint decorator
- Testing