I tried await PocketIc.create() but I got error TypeError: Cannot read properties of undefined (reading 'protocol')
I tried await PocketIc.create(url)* where url is http://localhost:8080 that i got from dfx start --clean but I also got another error SyntaxError: Unexpected token 'C', "Could not "... is not valid JSON
I tried dfx deploy backend to make sure the test runes on backend canister
The nice thing about picture pic.js is that you don’t have to run DFX Or PocketIC. The package will set up the server for you and collect the URL. You may want to check out one of the guides for how to get set up. I use and use this.
Most of the magic is in the global set up and global teardown files.
rustup 1.27.1 (54dd3d00f 2024-04-24)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.82.0 (f6e511eec 2024-10-15)`