Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
DivadNojnarg committed Mar 24, 2024
1 parent 635f2f6 commit 84eb1fc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/testthat/test-f7Searchbar.R
Original file line number Diff line number Diff line change
Expand Up @@ -43,26 +43,26 @@ test_that("searchbar trigger works", {
})

test_that("hide on search works", {
res <- f7HideOnSearch(tags$div())
res <- f7HideOnSearch(shiny::tags$div())
expect_true(grepl("searchbar-hide-on-search", res$attribs$class))
})

test_that("hide on enable works", {
res <- f7HideOnEnable(tags$div())
res <- f7HideOnEnable(shiny::tags$div())
expect_true(grepl("searchbar-hide-on-enable", res$attribs$class))
})

test_that("Not found works", {
res <- f7NotFound(tags$div())
res <- f7NotFound(shiny::tags$div())
expect_true(grepl("searchbar-not-found", res$attribs$class))
})

test_that("Found works", {
res <- f7Found(tags$div())
res <- f7Found(shiny::tags$div())
expect_true(grepl("searchbar-found", res$attribs$class))
})

test_that("Search ignore works", {
res <- f7SearchIgnore(tags$div())
res <- f7SearchIgnore(shiny::tags$div())
expect_true(grepl("searchbar-ignore", res$attribs$class))
})

0 comments on commit 84eb1fc

Please sign in to comment.