()
| 398 | } |
| 399 | |
| 400 | function observeOptionsOnAccess() { |
| 401 | const Model = arguments[0] || Product; |
| 402 | Model.observe('access', function(ctx, next) { |
| 403 | actualOptions = ctx.options; |
| 404 | next(); |
| 405 | }); |
| 406 | } |
| 407 | |
| 408 | function givenProductId1() { |
| 409 | return Product.create({id: 1, name: 'Pen'}); |
no test coverage detected
searching dependent graphs…