fix: merge develop

This commit is contained in:
Sebastian Rindom
2021-10-15 18:44:19 +02:00
31 changed files with 2145 additions and 1769 deletions
@@ -16,20 +16,3 @@ Object {
"updated_at": Any<String>,
}
`;
exports[`/admin/discounts creates store session correctly 1`] = `
Object {
"billing_address_id": null,
"created_at": Any<String>,
"deleted_at": null,
"email": "test@testesen.dk",
"first_name": "test",
"has_account": true,
"id": Any<String>,
"last_name": "testesen",
"metadata": null,
"orders": Array [],
"phone": "12345678",
"updated_at": Any<String>,
}
`;
@@ -159,7 +159,7 @@ describe("/store/carts", () => {
expect.assertions(2)
const api = useApi()
let response = await api
await api
.post("/store/carts/test-cart", {
discounts: [{ code: "SPENT" }],
})