Problem is that I deploy contractExample in before hook, only one time. in test1, I replace it with fake, but in test2, I need the original one, because await contractExample.getAction(); returns 0x...0, since it became a fake. How can I reset it in test1, so on contractExample.address, even in test 2, we got fake, and I need original.
Problem is that I deploy
contractExample
inbefore
hook, only one time. intest1
, I replace it with fake, but intest2
, I need the original one, becauseawait contractExample.getAction();
returns0x...0
, since it became a fake. How can I reset it intest1
, so oncontractExample.address
, even intest 2
, we got fake, and I need original.How can I achieve it ?