tests/testthat/test-server.R

testServer(
    app = BiocHubsShiny::BiocHubsShiny(),
    expr = {
        session$setInputs(hub = "AnnotationHub")
        expect_true(
            is(hub_data(), "AnnotationHub")
        )
        session$setInputs(hub = "ExperimentHub")
        expect_true(
            is(hub_data(), "ExperimentHub")
        )
    }
)
LiNk-NY/BiocHubsShiny documentation built on Dec. 21, 2024, 3:30 p.m.