feat: Add missing endpoints and normalize customer and currency endpoints for storefront (#7160)
This commit is contained in:
@@ -37,7 +37,7 @@ medusaIntegrationTestRunner({
|
||||
)
|
||||
|
||||
expect(response.status).toEqual(200)
|
||||
expect(response.data.address).toEqual(
|
||||
expect(response.data.customer.addresses[0]).toEqual(
|
||||
expect.objectContaining({
|
||||
id: expect.any(String),
|
||||
first_name: "John",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { ICustomerModuleService } from "@medusajs/types"
|
||||
import { ModuleRegistrationName } from "@medusajs/modules-sdk"
|
||||
import { createAuthenticatedCustomer } from "../../../helpers/create-authenticated-customer"
|
||||
import {medusaIntegrationTestRunner} from "medusa-test-utils";
|
||||
import { medusaIntegrationTestRunner } from "medusa-test-utils"
|
||||
|
||||
const env = { MEDUSA_FF_MEDUSA_V2: true }
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ medusaIntegrationTestRunner({
|
||||
)
|
||||
|
||||
expect(response.status).toEqual(200)
|
||||
expect(response.data.address).toEqual(
|
||||
expect(response.data.customer.addresses[0]).toEqual(
|
||||
expect.objectContaining({
|
||||
id: address.id,
|
||||
first_name: "Jane",
|
||||
|
||||
Reference in New Issue
Block a user