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

refactor(test): replace mockr to testthat's mock functions #293

Merged
merged 3 commits into from
Jun 26, 2023

Conversation

eitsupi
Copy link
Contributor

@eitsupi eitsupi commented Jun 26, 2023

testthat now have the new mocking tools (r-lib/testthat#1739).

So, the mockr package is no longer needed.

@eitsupi eitsupi changed the title refactor(test): mockr::local_mock -> testthat::local_mocked-bindings refactor(test): mockr::local_mock -> testthat::local_mocked_bindings Jun 26, 2023
@eitsupi eitsupi changed the title refactor(test): mockr::local_mock -> testthat::local_mocked_bindings refactor(test): replace mockr to testthat's mock functions Jun 26, 2023
@eitsupi
Copy link
Contributor Author

eitsupi commented Jun 26, 2023

Sorry, I forgot to bump the version of testthat.
(These mock functions were added on 3.1.7)

@Ilia-Kosenkov
Copy link
Member

I forgot, can you merge it yourself after approval?

@eitsupi
Copy link
Contributor Author

eitsupi commented Jun 26, 2023

I do not have merge rights to this repository, so cannot merge.

@Ilia-Kosenkov Ilia-Kosenkov merged commit 3084c7b into extendr:main Jun 26, 2023
17 checks passed
@eitsupi eitsupi deleted the replace-mock branch June 26, 2023 14:58
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

Successfully merging this pull request may close these issues.

2 participants