Skip to content

Commit

Permalink
chore: migrate cart model (#743)
Browse files Browse the repository at this point in the history
* chore: migrate cart model

* chore: migrate a few more models and add tests

* chore: update cart model

* chore: switch to key reference for rest in business unit and store for the cart model

* chore: update tests to reflect new mode;

* chore: update tests for cart draft

* chore: rename spec files to builders

* chore: remove unneeded fields from spec and fields-config

* chore: import packages correctly by adding them to package.json

* chore: import packages correctly by adding them to package.json

* chore: migrate cart draft presets

* chore: change the export location of cart draft

* chore: test one file

* chore: regenerate presets again after correcting the generator

* chore: correct the imports and exports of the cart model

* chore: add missing deps after rebase
  • Loading branch information
YahiaElTai authored Jan 28, 2025
1 parent 5d270bb commit 39c1b11
Show file tree
Hide file tree
Showing 74 changed files with 8,973 additions and 3,808 deletions.
3 changes: 3 additions & 0 deletions models/cart/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,14 @@
"@babel/runtime": "^7.17.9",
"@babel/runtime-corejs3": "^7.17.9",
"@commercetools-test-data/business-unit": "10.12.0",
"@commercetools-test-data/cart-discount": "10.12.0",
"@commercetools-test-data/channel": "10.12.0",
"@commercetools-test-data/commons": "10.12.0",
"@commercetools-test-data/core": "10.12.0",
"@commercetools-test-data/customer": "10.12.0",
"@commercetools-test-data/customer-group": "10.12.0",
"@commercetools-test-data/discount-code": "10.12.0",
"@commercetools-test-data/type": "10.12.0",
"@commercetools-test-data/graphql-types": "10.12.0",
"@commercetools-test-data/product": "10.12.0",
"@commercetools-test-data/shipping-method": "10.12.0",
Expand Down
267 changes: 0 additions & 267 deletions models/cart/src/cart/builder.spec.ts

This file was deleted.

12 changes: 0 additions & 12 deletions models/cart/src/cart/builder.ts

This file was deleted.

Loading

0 comments on commit 39c1b11

Please sign in to comment.