tests/testthat/test-three-dots.R

test_that("glanceThreeDots() generates expected HTML", {
  expect_snapshot(glanceThreeDots())
})

test_that("threeDots() generates the correct HTML", {
  expect_snapshot(threeDots(plotOutput("plot")))
})

Try the standby package in your browser

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

standby documentation built on Oct. 30, 2024, 9:30 a.m.