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

Class GlobalModule

integration/hello-world/e2e/middleware-execute-order.spec.ts:15–23  ·  integration/hello-world/e2e/middleware-execute-order.spec.ts::GlobalModule

Source from the content-addressed store, hash-verified

13const RETURN_VALUE_GLOBAL = class="st">'test_GLOBAL';
14
15@Global()
16@Module({})
17class GlobalModule {
18 configure(consumer: MiddlewareConsumer) {
19 consumer
20 .apply((req, res, next) => res.send(RETURN_VALUE_GLOBAL))
21 .forRoutes(class="st">'ping');
22 }
23}
24
25@Global()
26@Module({})

Callers

nothing calls this directly

Calls 2

GlobalFunction · 0.90
ModuleFunction · 0.90

Tested by

no test coverage detected