Skip to content

Commit

Permalink
test(census_geo_api): add comment explaining snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
rossellhayes committed Dec 8, 2023
1 parent 59a340d commit 4ff2f0f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/testthat/test-census_geo_api.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
skip_if_not(nzchar(Sys.getenv("CENSUS_API_KEY")))

test_that("snapshot", {
# These snapshots were generated using the calculations in v2.0.0
# and verified that the calculations resulted in the same numbers for PR #120.
expect_snapshot_value(
census_geo_api(state = "DE", geo = "county", year = "2020"),
style = "deparse"
Expand Down

0 comments on commit 4ff2f0f

Please sign in to comment.