tests/testthat/test-parse-open-api.R

test_that("can parse open api spec", {
  skip_on_cran()
  skip_if(getRversion() < "3.6")
  expect_no_error(
    # supprss `incomplete final line` warning
    suppressWarnings(
      parse_openapi_spec("https://dtrnk0o2zy01c.cloudfront.net/openapi/en-us/dest/SponsoredProducts_prod_3p.json")
    )
  )
})
mgirlich/tibblify documentation built on Jan. 30, 2024, 2:35 a.m.