From dacbb22c231dd725bea8f0345236567322e6a092 Mon Sep 17 00:00:00 2001 From: John Shields Date: Thu, 26 Oct 2023 16:06:39 +0100 Subject: [PATCH] PP-11594 Fix linting errors picked up during build. --- .../integration/demo-payment/mock-cards-stripe.cy.js | 6 +++--- .../connector-patch-apple-pay-toggle.pact.test.js | 1 - .../connector-patch-google-pay-toggle.pact.test.js | 1 - 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/test/cypress/integration/demo-payment/mock-cards-stripe.cy.js b/test/cypress/integration/demo-payment/mock-cards-stripe.cy.js index e6984ce97c..72206035e6 100644 --- a/test/cypress/integration/demo-payment/mock-cards-stripe.cy.js +++ b/test/cypress/integration/demo-payment/mock-cards-stripe.cy.js @@ -14,17 +14,17 @@ function setupYourPspStubs (opts = {}) { gatewayAccountId, gatewayAccountExternalId, type: 'test', - paymentProvider: 'stripe', + paymentProvider: 'stripe' }) const stripeAccountSetup = stripeAccountSetupStubs.getGatewayAccountStripeSetupSuccess({ - gatewayAccountId, + gatewayAccountId }) const stubs = [ user, gatewayAccountByExternalId, - stripeAccountSetup, + stripeAccountSetup ] cy.task('setupStubs', stubs) diff --git a/test/pact/connector-client/connector-patch-apple-pay-toggle.pact.test.js b/test/pact/connector-client/connector-patch-apple-pay-toggle.pact.test.js index 353e2845bb..5f1652b61a 100644 --- a/test/pact/connector-client/connector-patch-apple-pay-toggle.pact.test.js +++ b/test/pact/connector-client/connector-patch-apple-pay-toggle.pact.test.js @@ -12,7 +12,6 @@ const gatewayAccountFixtures = require('../../fixtures/gateway-account.fixtures' // Constants const ACCOUNTS_RESOURCE = '/v1/api/accounts' let connectorClient -const expect = chai.expect const existingGatewayAccountId = 666 // Global setup diff --git a/test/pact/connector-client/connector-patch-google-pay-toggle.pact.test.js b/test/pact/connector-client/connector-patch-google-pay-toggle.pact.test.js index 694ed17ca9..bb70bd9c1a 100644 --- a/test/pact/connector-client/connector-patch-google-pay-toggle.pact.test.js +++ b/test/pact/connector-client/connector-patch-google-pay-toggle.pact.test.js @@ -12,7 +12,6 @@ const gatewayAccountFixtures = require('../../fixtures/gateway-account.fixtures' // Constants const ACCOUNTS_RESOURCE = '/v1/api/accounts' let connectorClient -const expect = chai.expect const existingGatewayAccountId = 666 // Global setup