aleeusgr / potential-robot

minimal dApp testing suite
MIT License
3 stars 3 forks source link

Encapsulation #101

Closed aleeusgr closed 1 year ago

aleeusgr commented 1 year ago

No that I have a working transaction, I should refactor it into a separate file. Test context provides constraints on variables.

Like now beforeEach will reset the state of the emulator so redeemTx wound work.

lock and redeem have to be in the same scope, as well as network.

aleeusgr commented 1 year ago

What about let?