How can I mock this? #339
Unanswered
matoelorriaga
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a script that contains this line:
This script is always executed as
root, running the test fails because of this warning:How can I mock this so I don't need
sudoto run the test?Beta Was this translation helpful? Give feedback.
All reactions