test_that("invalid handler", {
app <- new_app()
expect_snapshot(error = TRUE, {
app$use("foobar")
app$get("/foo", 1:100)
})
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.