File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -29,14 +29,14 @@ Imports:
2929 methods,
3030 rlang (>= 1.0.0),
3131 shiny (>= 1.6.0),
32- shinyjs,
32+ shinyjs (>= 2.1.0) ,
3333 shinyvalidate (>= 0.1.3),
3434 stats,
3535 teal.data (>= 0.7.0),
3636 teal.logger (>= 0.3.1),
3737 teal.widgets (>= 0.4.3),
3838 tidyr (>= 1.0.0),
39- tidyselect,
39+ tidyselect (>= 1.2.1) ,
4040 utils
4141Suggests:
4242 bslib (>= 0.8.0),
Original file line number Diff line number Diff line change @@ -25,10 +25,10 @@ testthat::test_that("Single filter", {
2525 testthat :: expect_silent(filter <- input $ children [[1 ]])
2626 testthat :: expect_equal(filter $ children [[1 ]]$ children [[1 ]]$ attribs , list (class = " shinyjs-hide" ))
2727
28- testthat :: expect_equal(
29- filter $ children [[ 1 ]] $ children [[ 2 ]] $ children [[ 3 ]] $ children [[ 1 ]] $ children [[ 1 ]] $ children [[ 2 ]] $ attribs $ multiple ,
30- " multiple "
31- )
28+ tq <- htmltools :: tagQuery( filter )
29+ filter_options <- tq $ find( " #filter1-vals " ) $ selectedTags()
30+ testthat :: expect_length( filter_options , 1L )
31+ testthat :: expect_equal( filter_options [[ 1 ]] $ attribs $ multiple , " multiple " )
3232
3333 # more tests - check levels of filtered variables
3434 # check also colummns selected
You can’t perform that action at this time.
0 commit comments