dfinity / pocketic

A canister smart contract testing solution for the Internet Computer.
Other
22 stars 1 forks source link

Will ` let pic = PocketIc::new();` create a new empty env every time? #13

Closed q2333gh closed 8 months ago

q2333gh commented 8 months ago

Or i need to mannually exec uninstall canister to empty stable memory everytime ?

q2333gh commented 8 months ago

I got it by using reinstall_canister().

fxgst commented 8 months ago

let pic = PocketIc::new() will always create a new IC instance with nothing installed and starting in a blank state.