Skip to content

Commit 836b28a

Browse files
chore(cypress): run formatter and address lints
1 parent a67b926 commit 836b28a

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

cypress-tests/cypress/e2e/configs/Payment/Authipay.js

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
import {
2-
3-
cardRequiredField,
4-
5-
} from "./Commons";
1+
import { cardRequiredField } from "./Commons";
62

73
// ============================================================================
84
// AUTHIPAY CYPRESS TEST CONFIGURATION (SIMPLIFIED)
@@ -53,7 +49,6 @@ const billingAddress = {
5349
// ===== PAYMENT METHOD DATA =====
5450

5551
const payment_method_data = {
56-
5752
card: {
5853
last4: "0083",
5954
card_type: null,
@@ -312,13 +307,14 @@ export const connectorDetails = {
312307
error: {
313308
type: "invalid_request_error",
314309
code: "processing_error",
315-
message: "You cannot cancel this PaymentIntent because it has a status of succeeded.",
310+
message:
311+
"You cannot cancel this PaymentIntent because it has a status of succeeded.",
316312
},
317313
},
318314
},
319315
},
320316

321-
// Void after confirm (manual capture scenario)
317+
// Void after confirm (manual capture scenario)
322318
// This should work for payments in "requires_capture" state
323319
VoidAfterConfirm: {
324320
Request: {
@@ -357,8 +353,9 @@ export const connectorDetails = {
357353
body: {
358354
error: {
359355
type: "invalid_request_error",
360-
code: "IR_16",
361-
message: "You cannot cancel this payment because it has status succeeded.",
356+
code: "IR_16",
357+
message:
358+
"You cannot cancel this payment because it has status succeeded.",
362359
},
363360
},
364361
},

0 commit comments

Comments
 (0)