test_that("select_city", {
testthat::expect_equal(select_city(cov_china),
selectInput("cityInput", "Which city do you want to display?",
choices = unique(cov_china$cityEnglishName),
selected="Ankang", multiple =FALSE))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.