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

fix(mock/proxy): support promises #440

Merged
merged 2 commits into from
Feb 11, 2025
Merged

fix(mock/proxy): support promises #440

merged 2 commits into from
Feb 11, 2025

Conversation

pi0
Copy link
Member

@pi0 pi0 commented Feb 11, 2025

resolves #212

implement .then / .catch / .finally support for mock proxy + add tests and minor fixes.

Note: As of #438, unenv does not internally depend on this proxy anymore

@pi0 pi0 changed the title fix: support promises for proxy mock fix(mock): support promises for proxy mock Feb 11, 2025
@pi0 pi0 changed the title fix(mock): support promises for proxy mock fix(mock/proxy): support promises Feb 11, 2025
@pi0 pi0 merged commit 8ddfec4 into main Feb 11, 2025
2 checks passed
@pi0 pi0 deleted the fix/mock branch February 11, 2025 12:31
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.

Mock .then function call should resolve
1 participant