Skip to content

Commit

Permalink
remove stripe test
Browse files Browse the repository at this point in the history
  • Loading branch information
olivermrbl committed Jan 31, 2024
1 parent 15c7afb commit a76ab8e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 33 deletions.
27 changes: 7 additions & 20 deletions packages/medusa-payment-stripe/src/index.ts
Original file line number Diff line number Diff line change
@@ -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,
],
}
6 changes: 0 additions & 6 deletions packages/medusa-payment-stripe/src/services/index.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -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([
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ export function getInitModuleConfig() {
schema: process.env.MEDUSA_PAYMENT_DB_SCHEMA,
},
},
providers: [
{
resolve: "medusa-payment-stripe",
options: {},
},
],
}

const injectedDependencies = {}
Expand Down

0 comments on commit a76ab8e

Please sign in to comment.