tests/testthat/test-actor_search.R

with_mock_dir('t/a/search', {
  test_that('`bs_search_actors()` works', {
    x <- bs_search_actors('political science', auth = auth)
    expect_s3_class(x, 'tbl_df')
  })
})

Try the bskyr package in your browser

Any scripts or data that you put into this service are public.

bskyr documentation built on June 8, 2025, 10:33 a.m.