-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 disable core.debug in testing #163
Comments
The current model is for the action to emit the output and the runner to conditionally add to logs based on setting. Can you clarify whether you want a way to silence during E2E testing or unit testing etc...? |
Unit testing. For a |
I think this is a duplicate of #118 |
@xt0rted I think you are right. What is the final decision? jest config or some alternative? |
would mocking the core module make more sense? |
Example here where core is mocked out specifically to capture info. Example here where core is mocked out to control the function results. Users can leverage mocking tools to fit their specific needs. |
Assigning to myself to update docs and guidance pointing to the examples ☝️ |
dupe of #118 |
Is there a way to disable
core.debug
when I am running jest locally? It is not so helpful to have all the logs on when running regression test.The text was updated successfully, but these errors were encountered: