MCPcopy
hub / github.com/strongloop/loopback / fn

Function fn

test/app.test.js:762–762  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

760
761 it('throws error if model typeof string is passed', function() {
762 const fn = function() { app.model('MyTestModel'); };
763 expect(fn).to.throw(/app(\.model|\.registry)/);
764 });
765 });

Callers 8

model.jsFile · 0.85
mail.jsFile · 0.85
model.test.jsFile · 0.85
loginFunction · 0.85
access-token.jsFile · 0.85
user.jsFile · 0.85
tokenHandlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected