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

chore: create PocketIC instance via PocketIC library #4007

Closed
wants to merge 4 commits into from

Conversation

mraszyk
Copy link
Contributor

@mraszyk mraszyk commented Nov 20, 2024

This PR refactors PocketIC instance creation to use the PocketIC library. Having a PocketIC instance handle around is useful to make requests to the PocketIC instance without using an agent, e.g., to impersonate the request's sender (in a follow up PR).

@mraszyk
Copy link
Contributor Author

mraszyk commented Nov 20, 2024

Having a PocketIC instance handle around is useful

The PocketIC instance handle cannot be shared between dfx processes using the approach from this PR.

@mraszyk mraszyk closed this Nov 20, 2024
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

Successfully merging this pull request may close these issues.

1 participant