Skip to content

Commit

Permalink
Refactor imports and remove unused mock data.
Browse files Browse the repository at this point in the history
Updated imports for consistent formatting and cleaned up unused `mockEvent__paymentIntent_requiresAction` mock data from tests. This improves maintainability and reduces unnecessary clutter in the codebase.
  • Loading branch information
aaronmezarguez committed Jan 28, 2025
1 parent 62e4811 commit 282b076
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion processor/src/routes/stripe-payment.route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import {
PaymentIntentResponseSchema,
PaymentModificationStatus,
} from '../dtos/operations/payment-intents.dto';
import {StripeEvent} from "../services/types/stripe-payment.type";
import { StripeEvent } from '../services/types/stripe-payment.type';

type PaymentRoutesOptions = {
paymentService: StripePaymentService;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import {
mockEvent__charge_refund_captured,
mockEvent__paymentIntent_canceled,
mockEvent__paymentIntent_paymentFailed,
mockEvent__paymentIntent_requiresAction,
mockEvent__paymentIntent_succeeded_captureMethodAutomatic,
mockEvent__charge_succeeded_notCaptured,
} from '../../utils/mock-routes-data';
Expand Down

0 comments on commit 282b076

Please sign in to comment.