Skip to content

fix(mock): NewContext returns a promise - #91

Open
re-Tick wants to merge 3 commits into
mainfrom
fix-process-dep
Open

fix(mock): NewContext returns a promise #91
re-Tick wants to merge 3 commits into
mainfrom
fix-process-dep

Conversation

@re-Tick

Copy link
Copy Markdown
Contributor

NewContext returns a promise to sync the mocks array in "ctx" for the execution map so that the external dependency calls are executed after the adding mock array for the unit test.

the executionContext was getting undefined for mocking dependency call outputs
Signed-off-by: re-Tick <jain.ritik.1001@gmail.com>
Signed-off-by: re-Tick <jain.ritik.1001@gmail.com>
@keploy

keployBot commented Apr 15, 2025

Copy link
Copy Markdown

Nice Pr 😄. We currently support Unit Test Generation only for Go projects.
Stay tuned – support for more languages is coming soon! 🚀

1 similar comment
@keploy-staging

Copy link
Copy Markdown

Nice Pr 😄. We currently support Unit Test Generation only for Go projects.
Stay tuned – support for more languages is coming soon! 🚀

Sign up for freeto 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

@re-Tick