()
| 390 | } |
| 391 | |
| 392 | function observeOptionsBeforeDelete() { |
| 393 | const Model = arguments[0] || Product; |
| 394 | Model.observe('before delete', function(ctx, next) { |
| 395 | actualOptions = ctx.options; |
| 396 | next(); |
| 397 | }); |
| 398 | } |
| 399 | |
| 400 | function observeOptionsOnAccess() { |
| 401 | const Model = arguments[0] || Product; |
no test coverage detected
searching dependent graphs…