-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tests talk to Solana for real, and they fail #149
Comments
It will be supper helpful. My Problem with that is that solana RPC changes so ofter that this is a way to let me know is actually working. Its not ideal to use RPC all the time but Mocking is step on the right direction. Is not that hard since I provide the URLSession as a parameter for this exact purpose. |
We will use Aman for fixing this. |
There is now a way to mock the networking layer. But Aman may help with this too |
The tests are currently failing, and it appears some use the real
NetworkingRouter
and actually talk to a GenesysGo devnet node.This is undesirable for a number of reasons.
Fix is to implement a mock version of
SolanaRouter
that provides appropriate responses for each test case.The text was updated successfully, but these errors were encountered: