Adds removeLineItem in CartService with tests
This commit is contained in:
1 parent
70ba668202
commit
8804ab1595
3 files changed
+143
No files matched your search
@@ -143,6 +143,23 @@ export const carts = {
|
||||
},
|
||||
quantity: 10,
|
||||
},
|
||||
{
|
||||
_id: IdMap.getId("itemToRemove"),
|
||||
title: "merge line",
|
||||
description: "This is a new line",
|
||||
thumbnail: "test-img-yeah.com/thumb",
|
||||
content: {
|
||||
unit_price: 123,
|
||||
variant: {
|
||||
_id: IdMap.getId("can-cover"),
|
||||
},
|
||||
product: {
|
||||
_id: IdMap.getId("product"),
|
||||
},
|
||||
quantity: 1,
|
||||
},
|
||||
quantity: 1,
|
||||
},
|
||||
],
|
||||
shipping_address: {},
|
||||
billing_address: {},
|
||||
|
||||
Reference in new issue
Block a user