Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any reference code for mocking intercanister calls?? #8

Open
jake-beardo opened this issue Mar 12, 2024 · 5 comments
Open

Comments

@jake-beardo
Copy link

Sorry to keep pestering

@ZenVoich
Copy link
Owner

If you want to make inter canister call to local actor class canister then it should work without mocking.

Otherwise, using a wrapper class probably could be useful

@jake-beardo
Copy link
Author

What is a wrapper class?

@jake-beardo
Copy link
Author

I am trying to make an inter canister call to the IC management canister

@ZenVoich
Copy link
Owner

I think it is not possible with mops test. You will need dfx or pocket-ic replica

@jake-beardo
Copy link
Author

Can I not mock the response from the IC management canister using mops test? :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants