Content
@
0 reply
0 recast
0 reaction
Rahat
@rahat
Anyone have examples of tests for frontend code that interacts onchain? Do you mock the onchain data? Or fork and interact with a local fork for the test?
1 reply
0 recast
1 reaction
joaofaustino
@joaofaustino
Are you thinking about end to end tests or unit tests?
1 reply
0 recast
0 reaction
Rahat
@rahat
Yea e2e - I imagine unit tests its best to just do mocked
0 reply
0 recast
0 reaction