tests/testthat/test-federation_facet.R

context("federation_facet")

test_that("federation_facet", {
	skip_on_cran()

  tt <- federation_facet(id = "nlx_152871-2")

  expect_is(tt, "list")
  expect_match(tt$category, "Gene")
  expect_is(tt$facets, "data.frame")
  expect_is(tt$facets$count, "integer")
  expect_is(tt$facets$value, "character")
})
ropensci/rif documentation built on May 18, 2022, 6:40 p.m.