Skip to content

Commit

Permalink
Get unit tests passing with htmlwidgets 1.6.3 (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpsievert authored Nov 9, 2023
1 parent 64c298b commit 7144935
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/testthat/test-other--BASE.R
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,9 @@ test_that("Shiny Examples", {


test_that("Shiny Input", {
skip_if_not_installed("htmlwidgets", "1.6")
skip_if_not_installed("htmlwidgets", "1.6.3")
skip_on_cran()

expect_equal(as.character(canvasXpressOutput("test_id")),
'<div class="canvasXpress html-widget html-widget-output shiny-report-size html-fill-item-overflow-hidden html-fill-item" id="test_id" style="width:100%;height:400px;"></div>')
'<div class="canvasXpress html-widget html-widget-output shiny-report-size html-fill-item" id="test_id" style="width:100%;height:400px;"></div>')
})

0 comments on commit 7144935

Please sign in to comment.