Skip to content

Commit

Permalink
fixing shinytest2 fail for tm_missing_data (#738)
Browse files Browse the repository at this point in the history
A test in tm_missing_data is failing because a slider's default value
gives an error. It passed in PR
[727](#727)
with a value of 2L, but here it was showing 1L. I fixed it in PR
[733](#733)
with app_driver$get_active_module_input("iris-combination_cutoff"), but
it's causing an error in another PR again.

To fix I have set.seed in` teal_data()`
  • Loading branch information
kartikeyakirar authored Apr 22, 2024
1 parent 0ab79b2 commit 53f9e6c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/testthat/test-shinytest2-tm_misssing_data.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
app_driver_tm_missing_data <- function() {
data <- within(simple_teal_data(), {
set.seed(123)
require(nestcolor)

add_nas <- function(x) {
Expand Down

0 comments on commit 53f9e6c

Please sign in to comment.