pocketic
pocketic copied to clipboard
A canister smart contract testing solution for the Internet Computer.
The POST response bodies are not included in the OAS exposed by PocketIC's `/api.json` endpoint. Example: ```json { ... "/instances/": { "get": { "responses": { "200": { "description": "", "content":...
When using encode_args((arg1, arg2, arg3, ...)) in PocketIC tests to call canister methods with multiple arguments, the macro encodes the tuple as a single Candid record (table0) instead of encoding...
Creating two canisters with specific targetCanisterId's results in error when one of them tries to call the other "Canister ... doesn't exist" pic-js docs specify "The Id of the canister...