Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(ui): intercept algod requests with Mock Service Worker (#103)
* test(ui): intercept algod requests with Mock Service Worker Since the app clients making simulate calls expect a functioning algod client as an argument, mocking algosdk.Algodv2 isn't an option. MSW will let us intercept the actual http simulate requests to fetch data and mock their responses. Now we can properly isolate components for testing and provide fixture data for predictable, repeatable outcomes. * chore(ui): fix Prettier issue in tsconfig * ci(ui): fix explorer account env variable
- Loading branch information