# bootstrap Decorator deprecated
Module | import { bootstrap } from "@tsed/testing" |
---|---|
Source | /packages/testing/src/bootstrap.ts |
# Overview
function bootstrap(server: any, ...args: any[]): () => Promise<void>;
# Description
Load the server silently without listening port and configure it on test profile.
- 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