diff --git a/packages/medusa-payment-stripe/src/index.ts b/packages/medusa-payment-stripe/src/index.ts index 48c0d40d2fdd1..6b0f5ee0f2302 100644 --- a/packages/medusa-payment-stripe/src/index.ts +++ b/packages/medusa-payment-stripe/src/index.ts @@ -1,21 +1,8 @@ -import StripeBaseService from "./core/stripe-base" -import StripeBancontactService from "./services/stripe-bancontact" -import StripeBlikService from "./services/stripe-blik" -import StripeGiropayService from "./services/stripe-giropay" -import StripeIdealService from "./services/stripe-ideal" -import StripeProviderService from "./services/stripe-provider" -import StripePrzelewy24Service from "./services/stripe-przelewy24" - +export * from "./core/stripe-base" +export * from "./services/stripe-bancontact" +export * from "./services/stripe-blik" +export * from "./services/stripe-giropay" +export * from "./services/stripe-ideal" +export * from "./services/stripe-provider" +export * from "./services/stripe-przelewy24" export * from "./types" - -export default { - services: [ - StripeBancontactService, - StripeBaseService, - StripeBlikService, - StripeGiropayService, - StripeIdealService, - StripePrzelewy24Service, - StripeProviderService, - ], -} diff --git a/packages/medusa-payment-stripe/src/services/index.ts b/packages/medusa-payment-stripe/src/services/index.ts deleted file mode 100644 index c7fd4cedb8582..0000000000000 --- a/packages/medusa-payment-stripe/src/services/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -export * from "./stripe-bancontact" -export * from "./stripe-blik" -export * from "./stripe-giropay" -export * from "./stripe-ideal" -export * from "./stripe-provider" -export * from "./stripe-przelewy24" diff --git a/packages/payment/integration-tests/__tests__/services/payment-module/index.spec.ts b/packages/payment/integration-tests/__tests__/services/payment-module/index.spec.ts index c508a7b8fda2f..4aa4ba692695a 100644 --- a/packages/payment/integration-tests/__tests__/services/payment-module/index.spec.ts +++ b/packages/payment/integration-tests/__tests__/services/payment-module/index.spec.ts @@ -48,7 +48,7 @@ describe("Payment Module Service", () => { }) describe("create", () => { - it.only("should throw an error when required params are not passed", async () => { + it("should throw an error when required params are not passed", async () => { let error = await service .createPaymentCollection([ { diff --git a/packages/payment/integration-tests/utils/get-init-module-config.ts b/packages/payment/integration-tests/utils/get-init-module-config.ts index 04c040e7222d6..6c6c667102739 100644 --- a/packages/payment/integration-tests/utils/get-init-module-config.ts +++ b/packages/payment/integration-tests/utils/get-init-module-config.ts @@ -10,12 +10,6 @@ export function getInitModuleConfig() { schema: process.env.MEDUSA_PAYMENT_DB_SCHEMA, }, }, - providers: [ - { - resolve: "medusa-payment-stripe", - options: {}, - }, - ], } const injectedDependencies = {}