Nothing
with_mock_dir("2025.09.0", {
client <- Connect$new(
server = "https://connect.example",
api_key = "not-a-key"
)
test_that("page_offset respects a specified 'limit' ", {
# These mocks return four results across two pages.
res <- search_content(client, q = "blobfish", limit = 3)
expect_equal(length(res), 3)
expect_equal(
purrr::map_chr(res, list("content", "title")),
c("blobfish dashboard", "blobfish api", "blobfish report")
)
})
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.