tests/testthat/test-maintenance.R

test_that("test maintenance_page", {
  html <- maintenance_page()
  expect_true(inherits(html, c("html_document", "shiny.tag.list", "list")))
})

Try the golem package in your browser

Any scripts or data that you put into this service are public.

golem documentation built on June 7, 2023, 5:46 p.m.