context("highlight_fun")
test_that("multiplication works", {
res <- with_mock(
"get_highlighted_text" = function() return("'highlighted text'"),
highlight_fun("cat")
)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.