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

bump to dev; fix tests for hubUtils 0.2.0 #61

Merged
merged 6 commits into from
Oct 31, 2024
Merged

Conversation

zkamvar
Copy link
Member

@zkamvar zkamvar commented Oct 29, 2024

This PR updates the snapshot tests to reflect the fact that all config files now have the config class and that the URLs are automatically updated with a message.
It also uses withr::local_tempdir() instead of tempdir() so that the directory could be gracefully cleaned up after the test.

I had forgotten to open a dev version bumping PR, so that is included here.

  • Increment version number to 1.2.3.9000
  • update snapshots for hubUtils 0.2.0
  • use withr::local_tempdir() for tests
  • update expectation for warning; test for hubUtils msg

I was getting errors when I ran tests/testthat/test-hub-connection.R
with `devtools::test_active_file()` in a single session.

This was caused by the tempdir not being cleaned up after the test was
finished.
@zkamvar zkamvar requested a review from annakrystalli October 29, 2024 16:14
Copy link

github-actions bot commented Oct 29, 2024

Copy link
Member

@annakrystalli annakrystalli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good! Just asked a quick clarification question

tests/testthat/test-hub-connection.R Show resolved Hide resolved
@zkamvar zkamvar merged commit 6c043f5 into main Oct 31, 2024
8 checks passed
@zkamvar zkamvar deleted the post-release-1.2.3 branch October 31, 2024 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants