Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
BlairCurrey committed Mar 25, 2024
1 parent 69afca4 commit 51c04f3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions test/integration/integration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ describe('Integration tests', (): void => {
createReceiver,
createQuote,
createOutgoingPayment,
getOutgoingPayemnt
getOutgoingPayment
} = testActions

const senderWalletAddress = await c9.accounts.getByWalletAddressUrl(
Expand All @@ -121,7 +121,7 @@ describe('Integration tests', (): void => {
senderWalletAddressId,
quote
)
const outgoingPayment_ = await getOutgoingPayemnt(
const outgoingPayment_ = await getOutgoingPayment(
outgoingPayment.id,
value
)
Expand All @@ -132,7 +132,7 @@ describe('Integration tests', (): void => {
createReceiver,
createQuote,
createOutgoingPayment,
getOutgoingPayemnt
getOutgoingPayment
} = testActions

const senderWalletAddress = await c9.accounts.getByWalletAddressUrl(
Expand All @@ -159,7 +159,7 @@ describe('Integration tests', (): void => {
senderWalletAddressId,
quote
)
await getOutgoingPayemnt(outgoingPayment.id, value)
await getOutgoingPayment(outgoingPayment.id, value)
// TODO: more assertions about cross currecny? not sure what assumptions
// we want to bake-in here. conversion rate/fees/asset code/scale etc.
})
Expand Down
10 changes: 5 additions & 5 deletions test/integration/lib/test-actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export interface TestActions {
walletAddressId: string,
quote: Quote
): Promise<OutgoingPayment>
getOutgoingPayemnt(
getOutgoingPayment(
outgoingPaymentId: string,
amountValueToSend: string
): Promise<OutgoingPayment>
Expand All @@ -40,8 +40,8 @@ export function createTestActions(deps: TestActionDeps): TestActions {
createQuote(deps, walletAddressId, receiver),
createOutgoingPayment: (walletAddressId, quote) =>
createOutgoingPayment(deps, walletAddressId, quote),
getOutgoingPayemnt: (outgoingPaymentId, amountValueToSend) =>
getOutgoingPayemnt(deps, outgoingPaymentId, amountValueToSend)
getOutgoingPayment: (outgoingPaymentId, amountValueToSend) =>
getOutgoingPayment(deps, outgoingPaymentId, amountValueToSend)
}
}

Expand All @@ -56,7 +56,7 @@ async function createReceiver(
receivingASE.integrationServer.webhookEventHandler,
'handleWebhookEvent'
)
// TODO: paramaterize metadata and expect in getOutgoingPayemnt?
// TODO: paramaterize metadata and expect in getOutgoingPayment?
// const response = await sendingASE.adminClient.createReceiver({
// metadata: {
// description: 'For lunch!'
Expand Down Expand Up @@ -159,7 +159,7 @@ async function createOutgoingPayment(

return response.payment
}
async function getOutgoingPayemnt(
async function getOutgoingPayment(
deps: TestActionDeps,
outgoingPaymentId: string,
amountValueToSend: string
Expand Down

0 comments on commit 51c04f3

Please sign in to comment.