@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.cjs CHANGED
@@ -3208,6 +3208,11 @@ var CartDiscountUpdateHandler = class extends AbstractUpdateHandler {
3208
3208
  setKey(context, resource, { key }) {
3209
3209
  resource.key = key;
3210
3210
  }
3211
+ setStores(context, resource, { stores }) {
3212
+ resource.stores = stores?.map(
3213
+ (s) => getStoreKeyReference(s, context.projectKey, this._storage)
3214
+ );
3215
+ }
3211
3216
  setValidFrom(context, resource, { validFrom }) {
3212
3217
  resource.validFrom = validFrom;
3213
3218
  }