Open fionnachan opened 1 year ago
Adding context from @dewanshparashar:
APIs can be unit tested as well. E2E test doesn't make sense here because there is no UI flow around these tests' (fetch*FromSubgraph) exhaustive input. But an issue has been created for more exploration and discussion to refactor the tests well so that UI and backend are more independent of each other.
IMO Unit test should either use mocked backend, or moved to integration tests, but it's outside of the scope of this PR
_Originally posted by @chrstph-dvx in https://github.com/OffchainLabs/arbitrum-token-bridge/pull/690#discussion_r1169923766_