Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
juliasilge committed Nov 27, 2024
1 parent e9460dd commit b17912e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/testthat/_snaps/board_connect_bundle.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,12 @@
..$ rows :List of 2
.. ..$ min : num 1
.. ..$ total: int 2
Code
str(rsc_bundle_preview_data(df, preview = FALSE))
Output
List of 2
$ data : list()
$ columns: list()

---

Expand Down
1 change: 1 addition & 0 deletions tests/testthat/test-board_connect_bundle.R
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ test_that("generates preview data", {
expect_snapshot({
df <- data.frame(x = 1:2, y = c("a", "b"), stringsAsFactors = FALSE)
str(rsc_bundle_preview_data(df))
str(rsc_bundle_preview_data(df, preview = FALSE))
})

# for NULL
Expand Down

0 comments on commit b17912e

Please sign in to comment.