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

How to use multiple ways to override the imported function in controller using proxyquire #268

Closed
rruichava opened this issue Jan 28, 2022 · 1 comment

Comments

@rruichava
Copy link

rruichava commented Jan 28, 2022

Hi, I am using proxyquire to override the dependencies but having some confusion how to override one imported function in different situations. Can you please help below query
https://stackoverflow.com/questions/70866210/sinon-stub-and-proxyquire-is-not-working-as-excepted

@bendrucker
Copy link
Collaborator

Sorry issues are for library problems not support. Make sure your override module paths match, it's a common mistake.

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