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

Class InvalidMiddleware

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

Source from the content-addressed store, hash-verified

134
135 it('should throw "InvalidMiddlewareException" exception when middleware does not have "use" method', () => {
136 @Injectable()
137 class InvalidMiddleware {}
138
139 const route = { path: 'Test' };
140 const configuration = {

Callers

nothing calls this directly

Calls 1

InjectableFunction · 0.90

Tested by

no test coverage detected