MCPcopy Index your code
hub / github.com/strongloop/loopback / givenProductInCategory1

Function givenProductInCategory1

test/context-options.test.js:306–308  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

304 }
305
306 function givenProductInCategory1() {
307 return Product.create({id: 1, name: 'Pen', categoryId: 1});
308 }
309
310 function expectOptionsInjectedFromCategory() {
311 expect(actualOptions).to.have.property('injectedFrom', 'Category');

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…