tests/testthat/test-rounded-right.R

test_that("adds classes", {
  x <- div(.style %>% rounded_right(1))
  y <- div(.style %>% rounded_right(3))

  expect_s3_class(x, "shiny.tag")
  expect_html_class(x, "rounded-right-1")
  expect_html_class(y, "rounded-right-3")
})

Try the cascadess package in your browser

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

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