MCPcopy
hub / github.com/nestjs/nest / TestMiddleware

Class TestMiddleware

packages/core/test/middleware/middleware-module.spec.ts:42–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40 }
41
42 @Injectable()
43 class TestMiddleware implements NestMiddleware {
44 public use(req, res, next) {}
45 }
46
47 beforeEach(() => {
48 const container = new NestContainer();

Callers

nothing calls this directly

Calls 1

InjectableFunction · 0.90

Tested by

no test coverage detected