Skip to content

test: mock API network requests for transaction history test - #220

Open
jadonamite wants to merge 1 commit into
sanmipaul:mainfrom
jadonamite:patch-2
Open

test: mock API network requests for transaction history test#220
jadonamite wants to merge 1 commit into
sanmipaul:mainfrom
jadonamite:patch-2

Conversation

@jadonamite

Copy link
Copy Markdown

Updates the TransactionHistoryService tests to utilize a global fetch mock. This replaces the structural toBeDefined() checks with active asynchronous assertions, ensuring the service correctly fetches and parses transaction history and transaction details from the API.

Updates the TransactionHistoryService tests to utilize a global fetch mock. This replaces the structural toBeDefined() checks with active asynchronous assertions, ensuring the service correctly fetches and parses transaction history and transaction details from the API.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant