@labdigital/commercetools-mock 2.38.0 → 2.39.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -3171,6 +3171,11 @@ var CartDiscountUpdateHandler = class extends AbstractUpdateHandler {
3171
3171
  setKey(context, resource, { key }) {
3172
3172
  resource.key = key;
3173
3173
  }
3174
+ setStores(context, resource, { stores }) {
3175
+ resource.stores = stores?.map(
3176
+ (s) => getStoreKeyReference(s, context.projectKey, this._storage)
3177
+ );
3178
+ }
3174
3179
  setValidFrom(context, resource, { validFrom }) {
3175
3180
  resource.validFrom = validFrom;
3176
3181
  }