Skip to content

Commit

Permalink
remove os-specific snapshot (png)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisholbrook committed Sep 5, 2024
1 parent a5884c9 commit 263ee71
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tests/testthat/test-detection_bubble_plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,14 @@ test_that("detection_bubble_plot works", {
)

# check image written to disk
expect_snapshot_file(temp_png)
expect_true(file.exists(temp_png))

# Check if expected and actual file sizes
expect_equal(
file.size(temp_png),
17226,
tolerance = 0.005
)

# check returned value
expect_equal(dbp, dbp_shouldbe)
Expand Down

0 comments on commit 263ee71

Please sign in to comment.