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

Function init

packages/core/src/__tests__/unit/lifecycle.unit.ts:36–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34 it('returns true for object with init method', () => {
35 const obj = {
36 init() {},
37 };
38 expect(isLifeCycleObserver(obj)).to.be.true();
39 });

Callers

nothing calls this directly

Calls 1

resolveMethod · 0.80

Tested by

no test coverage detected