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

Test Log Output in Get Cache Information Functions #169

Closed
threeal opened this issue Feb 20, 2024 · 0 comments · Fixed by #170
Closed

Test Log Output in Get Cache Information Functions #169

threeal opened this issue Feb 20, 2024 · 0 comments · Fixed by #170
Assignees
Labels
Milestone

Comments

@threeal
Copy link
Owner

threeal commented Feb 20, 2024

This issue suggests testing the log output in the getCacheKey and getCachePath functions. This can be done by mocking the functions in the @actions/core package that are responsible for outputting information to the log. Besides increasing test coverage in this project, this action also prevents tests for the getCacheKey and getCachePath functions from displaying unnecessary log output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant