test_that("active_js", {
expect_s3_class(activate_js(), "shiny.tag")
})
test_that("invoke_js", {
expect_error(invoke_js())
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.