tests/testthat/test-run_example.R

test_that("shiny example loads", {
  shiny::testServer(
    app = run_example(), {
    expect_equal(
      session$isClosed(),
      FALSE
    )

    }
  )
})

Try the shinyGovstyle package in your browser

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

shinyGovstyle documentation built on Sept. 12, 2024, 5:07 p.m.