Skip to content

Commit ba72387

Browse files
committed
Include shinytest2 to ensure tests run. Fixes #130
1 parent cf4e6e7 commit ba72387

10 files changed

Lines changed: 5 additions & 4 deletions
Binary file not shown.
Binary file not shown.
-664 Bytes
Loading
-636 Bytes
Loading
-664 Bytes
Loading
-82 Bytes
Loading
-625 Bytes
Loading
17.1 KB
Loading
17.6 KB
Loading

tests/testthat/test-shinytest2.R

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ test_that("{shinytest2} recording: test_update_title", {
55
skip_on_ci()
66
skip_if_not_installed("shinytest2")
77

8-
app <- AppDriver$new(
9-
variant = platform_variant(),
8+
app <- shinytest2::AppDriver$new(
9+
variant = shinytest2::platform_variant(),
1010
name = "test_update_title",
1111
app_dir = app_dir,
1212
seed = 123,
@@ -24,7 +24,7 @@ test_that("{shinytest2} recording: test_change_labels", {
2424
skip_on_ci()
2525
skip_if_not_installed("shinytest2")
2626

27-
app <- AppDriver$new(
27+
app <- shinytest2::AppDriver$new(
2828
name = "test_change_labels",
2929
app_dir = app_dir,
3030
seed = 123,
@@ -47,7 +47,7 @@ test_that("{shinytest2} recording: test_empty_labels", {
4747
skip_on_ci()
4848
skip_if_not_installed("shinytest2")
4949

50-
app <- AppDriver$new(
50+
app <- shinytest2::AppDriver$new(
5151
name = "test_empty_labels",
5252
app_dir = app_dir,
5353
seed = 123,
@@ -70,3 +70,4 @@ test_that("{shinytest2} recording: test_empty_labels", {
7070
)
7171
app$expect_values(output = "results")
7272
})
73+

0 commit comments

Comments
 (0)