MCPcopy
hub / github.com/loopbackio/loopback-next / MyService

Class MyService

packages/core/src/__tests__/unit/component.unit.ts:245–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243
244 it('binds services from component', () => {
245 @injectable({scope: BindingScope.SINGLETON})
246 class MyService {
247 getValue() {
248 return 'service-value';
249 }
250 }
251
252 const component: Component = {
253 services: [MyService],

Callers

nothing calls this directly

Calls 1

injectableFunction · 0.90

Tested by

no test coverage detected