test_that("ss_use_controller() works", {
with_tempdir({
ss_use_controller("hello")
expect_file_exists(path(getwd(), "hello_controller.js"))
})
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.