test_that("TemplateModuleServer loads successfully", {
shiny::testServer(
TemplateModuleServer,
args = list(
html = reactiveVal(),
page = reactive("fluidPage")
),
expr = {
expect_error(session$setInputs(save_button = 1L), NA)
}
)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.