From 86aa14782ba6092b79d5a30b8e7674f795c8d0c5 Mon Sep 17 00:00:00 2001 From: Dirk Ehrhardt Date: Thu, 22 Aug 2024 11:28:08 +0200 Subject: [PATCH] chore: update file name for apple pay transformer --- .../{applepay.test.ts => ApplePayTransformer.test.ts} | 4 ++-- src/transformer/{applepay.ts => ApplePayTransformer.ts} | 0 src/transformer/index.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename src/transformer/{applepay.test.ts => ApplePayTransformer.test.ts} (96%) rename src/transformer/{applepay.ts => ApplePayTransformer.ts} (100%) diff --git a/src/transformer/applepay.test.ts b/src/transformer/ApplePayTransformer.test.ts similarity index 96% rename from src/transformer/applepay.test.ts rename to src/transformer/ApplePayTransformer.test.ts index d6aa629..7bc3326 100644 --- a/src/transformer/applepay.test.ts +++ b/src/transformer/ApplePayTransformer.test.ts @@ -3,9 +3,9 @@ import type { ApplePayPayment } from '../models/applepay/ApplePayPayment.js'; import type { MobilePaymentMethodSpecificInput } from '../models/MobilePaymentMethodSpecificInput.js'; import { ApplePayPaymentMethodType } from '../models/applepay/ApplePayPaymentMethodType.js'; import { Network } from '../models/Network.js'; -import { transformApplePayPaymentToMobilePaymentMethodSpecificInput } from '../transformer/applepay.js'; +import { transformApplePayPaymentToMobilePaymentMethodSpecificInput } from './ApplePayTransformer.js'; -describe('applepay transformer', () => { +describe('ApplePayTransformer', () => { describe('transformApplePayPaymentToMobilePaymentMethodSpecificInput', () => { test('converts a full ApplePayPayment correctly', () => { const payment: ApplePayPayment = { diff --git a/src/transformer/applepay.ts b/src/transformer/ApplePayTransformer.ts similarity index 100% rename from src/transformer/applepay.ts rename to src/transformer/ApplePayTransformer.ts diff --git a/src/transformer/index.ts b/src/transformer/index.ts index fa16c75..2a4277d 100644 --- a/src/transformer/index.ts +++ b/src/transformer/index.ts @@ -1 +1 @@ -export { transformApplePayPaymentToMobilePaymentMethodSpecificInput } from './applepay.js'; +export { transformApplePayPaymentToMobilePaymentMethodSpecificInput } from './ApplePayTransformer.js';