test_that("can use failing condition expectation inside `expect_snapshot()`", {
local_edition(3)
expect_snapshot(expect_error(NULL))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.