tests/testthat/test-TabList.R

test_that("TabList() returns shiny.tag, correct name and value", {
  expect_equal(class(TabList()), "shiny.tag")
  expect_equal(environment(TabList()[["children"]][[2]])[["data"]][["name"]], "TabList")
  expect_equal(environment(TabList("Test")[["children"]][[2]])[["data"]][["props"]][["value"]][["children"]], "Test")
})

Try the muiMaterial package in your browser

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

muiMaterial documentation built on Jan. 26, 2026, 5:07 p.m.