Provides a means to mock a package function, i.e., temporarily substitute it for testing. Designed as a drop-in replacement for the now deprecated 'testthat::with_mock()' and 'testthat::local_mock()'.
3 lines
201 B
Text
3 lines
201 B
Text
Provides a means to mock a package function, i.e., temporarily
|
|
substitute it for testing. Designed as a drop-in replacement for the
|
|
now deprecated 'testthat::with_mock()' and 'testthat::local_mock()'.
|