tests/testthat/test-golem-recommended.R

context("golem tests")

library(golem)

test_that("app ui", {
  ui <- app_ui()
  expect_shinytaglist(ui)
})

test_that("app server", {
  server <- app_server
  expect_is(server, "function")
})
aljrico/covidDashboard documentation built on Jan. 29, 2021, 1:08 a.m.