Skip to content

Commit

Permalink
refactor: test steps into fns and make each flow 1 test (#2608)
Browse files Browse the repository at this point in the history
* feat: add cross currency flow and start refactor of tests

refactor changes tests to contain entire flow, instead of seperate
tests for each step of flow, which are not independent.

* fix: typo

* refactor: test steps into fns and make each flow 1 test

* feat: add packages to labeler

* fix: apollo type mismatch

* fix: renovate ignoring integration test package

* feat(integration): get public incoming payment test action

* chore: add cross currency amount assertions

* feat(mock-account-servicing-lib): export types

* feat(integration): cross currency assertions
  • Loading branch information
BlairCurrey authored Apr 2, 2024
1 parent 0a55b1d commit 2d76382
Show file tree
Hide file tree
Showing 10 changed files with 920 additions and 512 deletions.
10 changes: 9 additions & 1 deletion packages/mock-account-service-lib/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
export { Peering, Account, Config, Webhook, WebhookEventType } from './types'
export {
Peering,
Account,
Config,
Webhook,
WebhookEventType,
Fee,
SeedInstance
} from './types'

export { AccountProvider } from './account-provider'
export { setupFromSeed } from './seed'
4 changes: 2 additions & 2 deletions packages/mock-account-service-lib/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ export interface Account {
skipWalletAddressCreation?: boolean
}

interface Fee {
export interface Fee {
fixed: number
basisPoints: number
asset: string
scale: number
}

interface SeedInstance {
export interface SeedInstance {
assets: Array<Asset>
peeringAsset: string
peers: Array<Peering>
Expand Down
6 changes: 0 additions & 6 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2d76382

Please sign in to comment.