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

Class MyProvider

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

Source from the content-addressed store, hash-verified

68
69 it('binds providers from component', () => {
70 class MyProvider implements Provider<string> {
71 value() {
72 return 'my-value';
73 }
74 }
75
76 const component: Component = {
77 providers: {

Callers

nothing calls this directly

Calls 1

injectableFunction · 0.90

Tested by

no test coverage detected